Support specifying different bytecode listings for FIR and old frontend

This commit is contained in:
vladislav.grechko
2022-10-18 20:58:04 +02:00
committed by teamcity
parent 8a89b2f29f
commit 70c2f2b86f
77 changed files with 95 additions and 2 deletions
@@ -1,6 +1,7 @@
// WITH_STDLIB
// WITH_COROUTINES
// CHECK_BYTECODE_LISTING
// FIR_IDENTICAL
import helpers.*
import kotlin.coroutines.*
@@ -1,6 +1,7 @@
// WITH_STDLIB
// WITH_COROUTINES
// CHECK_BYTECODE_LISTING
// FIR_IDENTICAL
import helpers.*
import kotlin.coroutines.*
@@ -6,6 +6,7 @@
// `lambda` should not be wrapped in yet another object (so no OnInlineArgumentKt$box$1$1).
// CHECK_BYTECODE_LISTING
// FIR_IDENTICAL
import helpers.*
import kotlin.coroutines.*
@@ -3,6 +3,7 @@
// WITH_STDLIB
// WITH_COROUTINES
// CHECK_BYTECODE_LISTING
// FIR_IDENTICAL
import helpers.*
import kotlin.coroutines.*
import kotlin.coroutines.intrinsics.*
@@ -1,6 +1,7 @@
// WITH_STDLIB
// WITH_COROUTINES
// CHECK_BYTECODE_LISTING
// FIR_IDENTICAL
// CHECK_NEW_COUNT: function=suspendHere count=0
// FIXME: Coroutine inlining
// CHECK_NEW_COUNT: function=complexSuspend count=0 TARGET_BACKENDS=JS
@@ -3,6 +3,7 @@
// WITH_STDLIB
// WITH_COROUTINES
// CHECK_BYTECODE_LISTING
// FIR_IDENTICAL
// In this test the following transformation are occuring:
// flow$1 -> flowWith$$inlined$flow$1
@@ -5,6 +5,7 @@
// WITH_STDLIB
// WITH_COROUTINES
// CHECK_BYTECODE_LISTING
// FIR_IDENTICAL
import helpers.*
import kotlin.coroutines.*