This repository was archived by the owner on Feb 23, 2018. It is now read-only.
Commit 3d0d044
committed
[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 5fe5b3b commit 3d0d044
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