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
@@ -2,4 +2,4 @@ val a : Int? = 10
fun foo() = a!!.toString()
// 1 IFNONNULL
// 1 checkNotNull \(Ljava/lang/Object;\)V