JVM infer temporary vals from bytecode
This commit is contained in:
committed by
TeamCityServer
parent
a4e299b8e1
commit
dcbc2ea2b3
+2
-2
@@ -21,6 +21,6 @@ fun foo() : String {
|
||||
)
|
||||
}
|
||||
|
||||
// 12 ALOAD
|
||||
// 2 ASTORE
|
||||
// 11 ALOAD
|
||||
// 1 ASTORE
|
||||
// 0 InlineMarker
|
||||
|
||||
+2
-2
@@ -11,7 +11,7 @@ fun foo() : String {
|
||||
return foobar("abc", bar("ghi") { x -> x + "jkl" }, "mno")
|
||||
}
|
||||
|
||||
// 6 ASTORE
|
||||
// 18 ALOAD
|
||||
// 4 ASTORE
|
||||
// 16 ALOAD
|
||||
// 1 MAXLOCALS = 7
|
||||
// 0 InlineMarker
|
||||
|
||||
Reference in New Issue
Block a user