Fix bytecode text tests for language version 1.4

New null check assertions are generated a bit more efficiently, with a
call to `checkNotNull` instead of IFNONNULL+jump.
This commit is contained in:
Alexander Udalov
2020-01-20 15:52:10 +01:00
parent 1ef5e25c60
commit 6a90dc2efe
9 changed files with 21 additions and 27 deletions

View File

@@ -6,5 +6,5 @@ fun test3() {
val p = 1
}
}
// 2 IFNONNULL
// 3 IF
// 2 checkNotNull \(Ljava/lang/Object;\)V
// 1 IF_ICMP