JVM_IR: move const initialization handling to lowering
Had to edit some bytecodeText tests to account for the fact that JVM_IR no longer generates explicit initializations for ConstantValue fields, but NoConstantValueAttributeForNonConstVals is not the default yet.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
// Generates ICONST_1
|
||||
val a = 1
|
||||
val a = 2
|
||||
|
||||
fun main() {
|
||||
// Generates IFEQ
|
||||
@@ -29,7 +28,7 @@ fun main() {
|
||||
}
|
||||
|
||||
//0 ICONST_0
|
||||
//1 ICONST_1
|
||||
//0 ICONST_1
|
||||
//1 IFEQ
|
||||
//1 IFLE
|
||||
//1 IFLT
|
||||
|
||||
Reference in New Issue
Block a user