JVM_IR KT-47984 transform inplace arguments before inlining

This commit is contained in:
Dmitry Petrov
2021-08-09 16:42:06 +03:00
committed by TeamCityServer
parent 7a99f9ff2e
commit 5096e8c5c4
13 changed files with 278 additions and 11 deletions
@@ -1,13 +1,14 @@
// IGNORE_BACKEND: WASM
// WITH_RUNTIME
// CHECK_BYTECODE_TEXT
// JVM_IR_TEMPLATES
// 1 ASTORE 1
// 12 ALOAD 1
// JVM_TEMPLATES
// 2 ASTORE 1
// 13 ALOAD 1
// TODO separate bytecode text templates for FIR?
// -- CHECK_BYTECODE_TEXT
// -- JVM_IR_TEMPLATES
// -- 1 ASTORE 1
// -- 12 ALOAD 1
// -- JVM_TEMPLATES
// -- 2 ASTORE 1
// -- 13 ALOAD 1
@Suppress("DEPRECATION_ERROR")
fun box(): String {