JVM_IR KT-34594 strip fake variable initialization during inlining
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun test() = run {
|
||||
var tmp = 0
|
||||
"OK"
|
||||
}
|
||||
|
||||
// 2 LOCALVARIABLE
|
||||
// 1 LOCALVARIABLE tmp I
|
||||
// 1 LOCALVARIABLE \$i\$a\$-run-NoFakeVariableForInlineOnlyFunWithLambdaKt\$test\$1 I
|
||||
|
||||
// 0 LDC 0
|
||||
// 2 ICONST_0
|
||||
// 2 ISTORE
|
||||
Reference in New Issue
Block a user