Update bytecode text tests for JVM_IR

This commit is contained in:
Dmitry Petrov
2020-02-19 16:26:50 +03:00
parent 071149e0fb
commit 81b30b7399
31 changed files with 107 additions and 73 deletions
@@ -1,7 +1,12 @@
// IGNORE_BACKEND: JVM_IR
object A {
val r: Int = 1
}
// JVM_TEMPLATES
// Field initialized in constant pool
// A super constructor call and INSTANCE put
// 2 ALOAD 0
// 2 ALOAD 0
// JVM_IR_TEMPLATES
// JVM_IR generates 'dup' instead of 'astore 0; aload 0' in <clinit> method of object class
// 1 ALOAD 0