From 8fbf1ed68328691e6420a2501faf266408e1a6a0 Mon Sep 17 00:00:00 2001 From: Svyatoslav Kuzmich Date: Mon, 24 Dec 2018 14:07:13 +0300 Subject: [PATCH] [JS IR BE] Unmute tests --- ...paratePlace.kt => MoveBodilessDeclarationsToSeparatePlace.kt} | 0 compiler/testData/codegen/box/safeCall/primitiveEqSafeCall.kt | 1 - compiler/testData/codegen/box/safeCall/primitiveNotEqSafeCall.kt | 1 - compiler/testData/codegen/box/safeCall/safeCallEqPrimitive.kt | 1 - compiler/testData/codegen/box/safeCall/safeCallNotEqPrimitive.kt | 1 - compiler/testData/codegen/box/strings/kt894.kt | 1 - .../box/unsignedTypes/iterateOverArrayOfUnsignedValues.kt | 1 - .../codegen/boxInline/defaultValues/defaultMethodInClass.kt | 1 - js/js.translator/testData/box/standardClasses/stringPlus.kt | 1 - 9 files changed, 8 deletions(-) rename compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/{MoveExternalDeclarationsToSeparatePlace.kt => MoveBodilessDeclarationsToSeparatePlace.kt} (100%) diff --git a/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/MoveExternalDeclarationsToSeparatePlace.kt b/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/MoveBodilessDeclarationsToSeparatePlace.kt similarity index 100% rename from compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/MoveExternalDeclarationsToSeparatePlace.kt rename to compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/MoveBodilessDeclarationsToSeparatePlace.kt diff --git a/compiler/testData/codegen/box/safeCall/primitiveEqSafeCall.kt b/compiler/testData/codegen/box/safeCall/primitiveEqSafeCall.kt index 37d4aafed07..6cfb10708e8 100644 --- a/compiler/testData/codegen/box/safeCall/primitiveEqSafeCall.kt +++ b/compiler/testData/codegen/box/safeCall/primitiveEqSafeCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun Long.id() = this fun String.drop2() = if (length >= 2) subSequence(2, length) else null diff --git a/compiler/testData/codegen/box/safeCall/primitiveNotEqSafeCall.kt b/compiler/testData/codegen/box/safeCall/primitiveNotEqSafeCall.kt index ffd0f85fae7..1485dea2135 100644 --- a/compiler/testData/codegen/box/safeCall/primitiveNotEqSafeCall.kt +++ b/compiler/testData/codegen/box/safeCall/primitiveNotEqSafeCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun Long.id() = this fun String.drop2() = if (length >= 2) subSequence(2, length) else null diff --git a/compiler/testData/codegen/box/safeCall/safeCallEqPrimitive.kt b/compiler/testData/codegen/box/safeCall/safeCallEqPrimitive.kt index 22f5c1765ed..fe8438abca6 100644 --- a/compiler/testData/codegen/box/safeCall/safeCallEqPrimitive.kt +++ b/compiler/testData/codegen/box/safeCall/safeCallEqPrimitive.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun Long.id() = this fun String.drop2() = if (length >= 2) subSequence(2, length) else null diff --git a/compiler/testData/codegen/box/safeCall/safeCallNotEqPrimitive.kt b/compiler/testData/codegen/box/safeCall/safeCallNotEqPrimitive.kt index 630a63a8562..8cac0043470 100644 --- a/compiler/testData/codegen/box/safeCall/safeCallNotEqPrimitive.kt +++ b/compiler/testData/codegen/box/safeCall/safeCallNotEqPrimitive.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun Long.id() = this fun String.drop2() = if (length >= 2) subSequence(2, length) else null diff --git a/compiler/testData/codegen/box/strings/kt894.kt b/compiler/testData/codegen/box/strings/kt894.kt index 8a9587a1712..e2aeb1f5bab 100644 --- a/compiler/testData/codegen/box/strings/kt894.kt +++ b/compiler/testData/codegen/box/strings/kt894.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR fun stringConcat(n : Int) : String? { var string : String? = "" for (i in 0..(n - 1)) diff --git a/compiler/testData/codegen/box/unsignedTypes/iterateOverArrayOfUnsignedValues.kt b/compiler/testData/codegen/box/unsignedTypes/iterateOverArrayOfUnsignedValues.kt index fa6fbdabd23..642a3770123 100644 --- a/compiler/testData/codegen/box/unsignedTypes/iterateOverArrayOfUnsignedValues.kt +++ b/compiler/testData/codegen/box/unsignedTypes/iterateOverArrayOfUnsignedValues.kt @@ -1,7 +1,6 @@ // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR fun box(): String { var sum = 0u diff --git a/compiler/testData/codegen/boxInline/defaultValues/defaultMethodInClass.kt b/compiler/testData/codegen/boxInline/defaultValues/defaultMethodInClass.kt index f72198bc585..49e91a046f4 100644 --- a/compiler/testData/codegen/boxInline/defaultValues/defaultMethodInClass.kt +++ b/compiler/testData/codegen/boxInline/defaultValues/defaultMethodInClass.kt @@ -1,5 +1,4 @@ // IGNORE_BACKEND: JVM_IR -// IGNORE_BACKEND: JS_IR // FILE: 1.kt package test diff --git a/js/js.translator/testData/box/standardClasses/stringPlus.kt b/js/js.translator/testData/box/standardClasses/stringPlus.kt index 65f39db384e..7692971bfb0 100644 --- a/js/js.translator/testData/box/standardClasses/stringPlus.kt +++ b/js/js.translator/testData/box/standardClasses/stringPlus.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // EXPECTED_REACHABLE_NODES: 1283 fun box(): String {