Fix failing bytecode text test
In this commit I moved IGNORE_BACKEND_FIR to the end or deleted it when it was applicable, to preserve correct line numbers
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
package inlineInIfFalseDex
|
package inlineInIfFalseDex
|
||||||
|
|
||||||
fun inlineIfFalse() {
|
fun inlineIfFalse() {
|
||||||
|
|||||||
+2
-1
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
import kotlin.sequences.*
|
import kotlin.sequences.*
|
||||||
import kotlin.experimental.*
|
import kotlin.experimental.*
|
||||||
|
|
||||||
@@ -24,3 +23,5 @@ suspend fun SequenceScope<Int>.awaitSeq(): Int = 42
|
|||||||
/* TODO: JVM_IR does not generate LINENUMBER at the end of the lambda */
|
/* TODO: JVM_IR does not generate LINENUMBER at the end of the lambda */
|
||||||
// JVM_IR_TEMPLATES
|
// JVM_IR_TEMPLATES
|
||||||
// 1 LOCALVARIABLE a I L[0-9]+ L16
|
// 1 LOCALVARIABLE a I L[0-9]+ L16
|
||||||
|
|
||||||
|
// IGNORE_BACKEND_FIR: JVM_IR
|
||||||
|
|||||||
-1
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
const val M = Int.MIN_VALUE
|
const val M = Int.MIN_VALUE
|
||||||
|
|
||||||
fun f(a: Int): Int {
|
fun f(a: Int): Int {
|
||||||
|
|||||||
-1
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
const val M = Long.MIN_VALUE
|
const val M = Long.MIN_VALUE
|
||||||
|
|
||||||
fun f(a: Long): Int {
|
fun f(a: Long): Int {
|
||||||
|
|||||||
-1
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
const val M = UInt.MIN_VALUE
|
const val M = UInt.MIN_VALUE
|
||||||
|
|
||||||
|
|||||||
-1
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
// WITH_RUNTIME
|
// WITH_RUNTIME
|
||||||
const val M = ULong.MIN_VALUE
|
const val M = ULong.MIN_VALUE
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
fun cond() = false
|
fun cond() = false
|
||||||
|
|
||||||
fun bar() {}
|
fun bar() {}
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
fun foo() {
|
fun foo() {
|
||||||
if (0 < 1) {
|
if (0 < 1) {
|
||||||
System.out?.println()
|
System.out?.println()
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
fun foo(): Int {
|
fun foo(): Int {
|
||||||
if (false) {
|
if (false) {
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
fun foo(): Int {
|
fun foo(): Int {
|
||||||
if (false) {
|
if (false) {
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
fun foo(): Int {
|
fun foo(): Int {
|
||||||
if (true) {
|
if (true) {
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
fun foo(): Int {
|
fun foo(): Int {
|
||||||
if (true) {
|
if (true) {
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
//FILE: test.kt
|
//FILE: test.kt
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
//FILE: test.kt
|
//FILE: test.kt
|
||||||
|
|
||||||
fun box() {
|
fun box() {
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
fun foo() {
|
fun foo() {
|
||||||
if (0 < 1) {
|
if (0 < 1) {
|
||||||
System.out?.println()
|
System.out?.println()
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// IGNORE_BACKEND_FIR: JVM_IR
|
|
||||||
fun foo() {
|
fun foo() {
|
||||||
try {
|
try {
|
||||||
System.out?.println()
|
System.out?.println()
|
||||||
|
|||||||
Reference in New Issue
Block a user