[IR] Fix KT-59346, KT-55993

#KT-59346
#KT-55993
This commit is contained in:
Evgeniy.Zhelenskiy
2023-06-15 19:12:49 +02:00
committed by Space Team
parent e802ee05a7
commit 2d920df507
19 changed files with 212 additions and 6 deletions
+15
View File
@@ -0,0 +1,15 @@
// CHECK_BYTECODE_TEXT
fun test(boolean: Boolean) {
if (boolean) { // Breakpoint
throw IllegalArgumentException()
}
val x: Int
}
fun box(): String {
test(false)
return "OK"
}
// 1 LINENUMBER 7 L1\n +ICONST_0\n +ISTORE 1
+15
View File
@@ -0,0 +1,15 @@
// CHECK_BYTECODE_TEXT
fun test(boolean: Boolean) {
val x: Int // Breakpoint
if (boolean) {
throw IllegalArgumentException()
}
}
fun box(): String {
test(false)
return "OK"
}
// 1 LINENUMBER 4