Fix bytecode tests after new optimizations
- Turn some const conditions into non-const conditions - Make sure inlined const values are used where required (otherwise they are eliminated by POP backward propagation)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
val two = 2
|
||||
|
||||
fun test2() {
|
||||
val p = 1 < 2;
|
||||
val p = 1 < two
|
||||
if (!p) {
|
||||
val p = 1
|
||||
}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
val two = 2
|
||||
|
||||
fun test2() {
|
||||
val p = 1 < 2;
|
||||
val p = 1 < two
|
||||
if (!!!!!!p) {
|
||||
val p = 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user