This repository was archived by the owner on Feb 23, 2018. It is now read-only.
Commit af39f30
[asm-cherry-pick] Use MethodWriter to compute maxLocals / maxStack
Make class MethodWriter public and add accessors for maxLocals and
maxStack. This is the simplest way to compute the maxs using the
ASM framework. It is used in the optimizer, see
scala/scala@90781e8
Cherry-pick of
lrytz/scala@91810c91 parent d245723 commit af39f30
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
238 | 242 | | |
239 | 243 | | |
240 | 244 | | |
241 | 245 | | |
242 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
243 | 251 | | |
244 | 252 | | |
245 | 253 | | |
| |||
0 commit comments