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

@@ -20,5 +20,5 @@ fun test() {
// @KKt.class:
// 0 IFNULL
// 1 IFNONNULL
// 1 checkNotNull \(Ljava/lang/Object;\)V
// 0 NULL-1