diff --git a/compiler/testData/codegen/box/boxingOptimization/boxedIntegersCmp.kt b/compiler/testData/codegen/box/boxingOptimization/boxedIntegersCmp.kt index 01c81496d28..1a181d9b391 100644 --- a/compiler/testData/codegen/box/boxingOptimization/boxedIntegersCmp.kt +++ b/compiler/testData/codegen/box/boxingOptimization/boxedIntegersCmp.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR inline fun ltx(a: Comparable, b: Any) = a < b inline fun lex(a: Comparable, b: Any) = a <= b inline fun gex(a: Comparable, b: Any) = a >= b diff --git a/compiler/testData/codegen/box/boxingOptimization/boxedRealsCmp.kt b/compiler/testData/codegen/box/boxingOptimization/boxedRealsCmp.kt index cd40f9b5ce3..d2d8265db37 100644 --- a/compiler/testData/codegen/box/boxingOptimization/boxedRealsCmp.kt +++ b/compiler/testData/codegen/box/boxingOptimization/boxedRealsCmp.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR inline fun ltx(a: Comparable, b: Any) = a < b inline fun lex(a: Comparable, b: Any) = a <= b diff --git a/compiler/testData/codegen/box/boxingOptimization/intCompareTo.kt b/compiler/testData/codegen/box/boxingOptimization/intCompareTo.kt index bbcf0cced07..e3016ff7bbe 100644 --- a/compiler/testData/codegen/box/boxingOptimization/intCompareTo.kt +++ b/compiler/testData/codegen/box/boxingOptimization/intCompareTo.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun box(): String { val a: Any = 1 val b: Any = 42 diff --git a/compiler/testData/codegen/box/controlStructures/quicksort.kt b/compiler/testData/codegen/box/controlStructures/quicksort.kt index 259cae66406..381a8cf44bb 100644 --- a/compiler/testData/codegen/box/controlStructures/quicksort.kt +++ b/compiler/testData/codegen/box/controlStructures/quicksort.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun IntArray.swap(i:Int, j:Int) { val temp = this[i] this[i] = this[j] diff --git a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAndContinue.kt b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAndContinue.kt index a91043e0e29..120d463b00c 100644 --- a/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAndContinue.kt +++ b/compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/tryAndContinue.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun idiv(a: Int, b: Int): Int = if (b == 0) throw Exception("Division by zero") else a / b diff --git a/compiler/testData/codegen/box/coroutines/controlFlow/kt22694_1_3.kt b/compiler/testData/codegen/box/coroutines/controlFlow/kt22694_1_3.kt index c25e21cf557..2ca751e7e49 100644 --- a/compiler/testData/codegen/box/coroutines/controlFlow/kt22694_1_3.kt +++ b/compiler/testData/codegen/box/coroutines/controlFlow/kt22694_1_3.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/elvis/genericNull.kt b/compiler/testData/codegen/box/elvis/genericNull.kt index 954453b1621..beb1cb723f2 100644 --- a/compiler/testData/codegen/box/elvis/genericNull.kt +++ b/compiler/testData/codegen/box/elvis/genericNull.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun foo(t: T) { (t ?: 42).toInt() } diff --git a/compiler/testData/codegen/box/ieee754/asComparableToDouble.kt b/compiler/testData/codegen/box/ieee754/asComparableToDouble.kt index 4f2e6d6b4ea..d215f9a5f05 100644 --- a/compiler/testData/codegen/box/ieee754/asComparableToDouble.kt +++ b/compiler/testData/codegen/box/ieee754/asComparableToDouble.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR val minus: Any = -0.0 fun box(): String { diff --git a/compiler/testData/codegen/box/ieee754/asComparableToDouble_properIeeeComparisons.kt b/compiler/testData/codegen/box/ieee754/asComparableToDouble_properIeeeComparisons.kt index 2a40d292d6e..b5e651e395f 100644 --- a/compiler/testData/codegen/box/ieee754/asComparableToDouble_properIeeeComparisons.kt +++ b/compiler/testData/codegen/box/ieee754/asComparableToDouble_properIeeeComparisons.kt @@ -1,5 +1,4 @@ // !LANGUAGE: +ProperIeee754Comparisons -// IGNORE_BACKEND: JS_IR val minus: Any = -0.0 diff --git a/compiler/testData/codegen/box/ieee754/comparableTypeCast.kt b/compiler/testData/codegen/box/ieee754/comparableTypeCast.kt index 4fa9d4ec029..368da4d0289 100644 --- a/compiler/testData/codegen/box/ieee754/comparableTypeCast.kt +++ b/compiler/testData/codegen/box/ieee754/comparableTypeCast.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun box(): String { if ((-0.0 as Comparable) >= 0.0) return "fail 0" if ((-0.0F as Comparable) >= 0.0F) return "fail 1" diff --git a/compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt b/compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt index cc4aacb3e7e..2d88e747b2b 100644 --- a/compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt +++ b/compiler/testData/codegen/box/inlineClasses/UIntArraySortExample.kt @@ -1,6 +1,5 @@ // !LANGUAGE: +InlineClasses // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR inline class UInt(private val value: Int) : Comparable { companion object { diff --git a/compiler/testData/codegen/box/intrinsics/kt12125.kt b/compiler/testData/codegen/box/intrinsics/kt12125.kt index 36444ec6063..c45ffb3f57c 100644 --- a/compiler/testData/codegen/box/intrinsics/kt12125.kt +++ b/compiler/testData/codegen/box/intrinsics/kt12125.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun test(i: Int): Int { return i } diff --git a/compiler/testData/codegen/box/intrinsics/kt12125_inc.kt b/compiler/testData/codegen/box/intrinsics/kt12125_inc.kt index 5d0763868d3..f531e713ef5 100644 --- a/compiler/testData/codegen/box/intrinsics/kt12125_inc.kt +++ b/compiler/testData/codegen/box/intrinsics/kt12125_inc.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun test(i: Int): Int { return i } diff --git a/compiler/testData/codegen/box/operatorConventions/assignmentOperations.kt b/compiler/testData/codegen/box/operatorConventions/assignmentOperations.kt index 5bf4f19c33e..27e7e622c5d 100644 --- a/compiler/testData/codegen/box/operatorConventions/assignmentOperations.kt +++ b/compiler/testData/codegen/box/operatorConventions/assignmentOperations.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR class A() { var x = 0 } diff --git a/compiler/testData/codegen/box/primitiveTypes/kt14868.kt b/compiler/testData/codegen/box/primitiveTypes/kt14868.kt index ac69ac98744..1416af7135b 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt14868.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt14868.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun box(): String { val x: Number = 75 diff --git a/compiler/testData/codegen/box/primitiveTypes/kt1508.kt b/compiler/testData/codegen/box/primitiveTypes/kt1508.kt index dd0d7d6024b..28e534afe39 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt1508.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt1508.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun test( n : Number ) = n.toInt().toLong() + n.toLong() fun box() : String { diff --git a/compiler/testData/codegen/box/primitiveTypes/kt16732.kt b/compiler/testData/codegen/box/primitiveTypes/kt16732.kt index f6255f77f2c..8b58c6f402b 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt16732.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt16732.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR //WITH_RUNTIME fun valueFromDB(value: Any): Any { diff --git a/compiler/testData/codegen/box/primitiveTypes/kt2275.kt b/compiler/testData/codegen/box/primitiveTypes/kt2275.kt index 6abd2217d38..4dc1296a0e5 100644 --- a/compiler/testData/codegen/box/primitiveTypes/kt2275.kt +++ b/compiler/testData/codegen/box/primitiveTypes/kt2275.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun box(): String { (0.toLong() as Number?)?.toByte() (0 as Int?)?.toDouble() diff --git a/compiler/testData/codegen/box/ranges/contains/inDoubleRangeLiteralVsComparableRangeLiteral.kt b/compiler/testData/codegen/box/ranges/contains/inDoubleRangeLiteralVsComparableRangeLiteral.kt index dd1167db0f0..d6f8fccf329 100644 --- a/compiler/testData/codegen/box/ranges/contains/inDoubleRangeLiteralVsComparableRangeLiteral.kt +++ b/compiler/testData/codegen/box/ranges/contains/inDoubleRangeLiteralVsComparableRangeLiteral.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // WITH_RUNTIME val DOUBLE_RANGE = 0.0 .. -0.0 diff --git a/compiler/testData/codegen/box/specialBuiltins/entrySetSOE.kt b/compiler/testData/codegen/box/specialBuiltins/entrySetSOE.kt index 933b389311d..5297ead7ed3 100644 --- a/compiler/testData/codegen/box/specialBuiltins/entrySetSOE.kt +++ b/compiler/testData/codegen/box/specialBuiltins/entrySetSOE.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JVM_IR +// IGNORE_BACKEND: JVM_IR // IGNORE_BACKEND: NATIVE open class Map1 : HashMap() diff --git a/compiler/testData/codegen/box/super/superConstructor/kt17464_linkedMapOf.kt b/compiler/testData/codegen/box/super/superConstructor/kt17464_linkedMapOf.kt index 620f73f98dd..74f6859d385 100644 --- a/compiler/testData/codegen/box/super/superConstructor/kt17464_linkedMapOf.kt +++ b/compiler/testData/codegen/box/super/superConstructor/kt17464_linkedMapOf.kt @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JS_IR, JVM_IR +// IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // FULL_JDK diff --git a/compiler/testData/codegen/boxInline/defaultValues/maskElimination/kt18792.kt b/compiler/testData/codegen/boxInline/defaultValues/maskElimination/kt18792.kt index 837975468a6..24ea76ce57c 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/maskElimination/kt18792.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/maskElimination/kt18792.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // FILE: 1.kt //WITH_RUNTIME diff --git a/js/js.translator/testData/box/inlineStdlib/closureInObjectLiteral.kt b/js/js.translator/testData/box/inlineStdlib/closureInObjectLiteral.kt index 254ab06feb7..4710c728d00 100644 --- a/js/js.translator/testData/box/inlineStdlib/closureInObjectLiteral.kt +++ b/js/js.translator/testData/box/inlineStdlib/closureInObjectLiteral.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1542 package foo diff --git a/js/js.translator/testData/box/number/mixedTypesOverflow.kt b/js/js.translator/testData/box/number/mixedTypesOverflow.kt index c4f15978fe2..0c446d28055 100644 --- a/js/js.translator/testData/box/number/mixedTypesOverflow.kt +++ b/js/js.translator/testData/box/number/mixedTypesOverflow.kt @@ -1,4 +1,5 @@ // EXPECTED_REACHABLE_NODES: 1284 +// IGNORE_BACKEND: JS package foo fun box(): String { diff --git a/js/js.translator/testData/box/reified/isNumber.kt b/js/js.translator/testData/box/reified/isNumber.kt index a880dd5b37a..8d250d94759 100644 --- a/js/js.translator/testData/box/reified/isNumber.kt +++ b/js/js.translator/testData/box/reified/isNumber.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1284 package foo diff --git a/js/js.translator/testData/box/rtti/isComparable.kt b/js/js.translator/testData/box/rtti/isComparable.kt index bc0788a9780..1fd0903ea1b 100644 --- a/js/js.translator/testData/box/rtti/isComparable.kt +++ b/js/js.translator/testData/box/rtti/isComparable.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1292 package foo