JVM IR: Avoid IrComposite in ReturnableBlockLowering (KT-53202)

This commit is contained in:
Steven Schäfer
2022-08-02 12:30:30 +02:00
committed by Alexander Udalov
parent c974ff8965
commit 03aee58585
10 changed files with 57 additions and 1 deletions
@@ -143,7 +143,7 @@ class ReturnableBlockTransformer(val context: CommonBackendContext, val containe
newStatements
)
return builder.irComposite(expression, expression.origin) {
return builder.irBlock(expression, expression.origin) {
+variable
+loop
+irGet(variable)