JVM_IR KT-50074 generate tableswitch for literal string subject of when expression

This commit is contained in:
Xin Wang
2022-01-19 10:25:34 +08:00
committed by TeamCityServer
parent 69bb2587eb
commit 56e5db9f0e
2 changed files with 32 additions and 9 deletions
@@ -10,3 +10,8 @@ fun box(): String {
return if (x == null) "OK" else "Fail"
}
// CHECK_BYTECODE_TEXT
// JVM_IR_TEMPLATES
// 0 Intrinsics.areEqual
// 1 TABLESWITCH