Write local variable for inline function and inline argument

This commit is contained in:
Natalia Ukhorskaya
2015-09-28 16:43:02 +03:00
parent 3452fc8d02
commit 9168572b8c
10 changed files with 54 additions and 7 deletions
@@ -12,5 +12,5 @@ fun foo() : String {
// 8 ALOAD
// 2 LSTORE
// 6 LLOAD
// 1 MAXLOCALS = 9
// 1 MAXLOCALS = 10
// 0 InlineMarker
@@ -12,5 +12,6 @@ fun test() {
// 3 ILOAD
// 2 ASTORE
// 7 ALOAD
// 3 MAXLOCALS = 3
// 2 MAXLOCALS = 3
// 1 MAXLOCALS = 4
// 0 InlineMarker
@@ -7,5 +7,5 @@ fun foo() : String {
// 6 ASTORE
// 21 ALOAD
// 1 MAXLOCALS = 5
// 1 MAXLOCALS = 7
// 0 InlineMarker