From d546fca876ea9ca902d820e18ccae4c1bb4fc850 Mon Sep 17 00:00:00 2001 From: Dmitry Petrov Date: Thu, 21 Jun 2018 10:24:04 +0300 Subject: [PATCH] Enable JS_IR back-end on passing 'when' tests --- .../codegen/box/when/whenSubjectVariable/ieee754Equality.kt | 2 +- .../whenSubjectVariable/subjectExpressionIsEvaluatedOnce.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/testData/codegen/box/when/whenSubjectVariable/ieee754Equality.kt b/compiler/testData/codegen/box/when/whenSubjectVariable/ieee754Equality.kt index d4eae378c58..860fbf9aa41 100644 --- a/compiler/testData/codegen/box/when/whenSubjectVariable/ieee754Equality.kt +++ b/compiler/testData/codegen/box/when/whenSubjectVariable/ieee754Equality.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +VariableDeclarationInWhenSubject -// IGNORE_BACKEND: JS, JS_IR +// IGNORE_BACKEND: JS val dz = -0.0 val fz = -0.0f diff --git a/compiler/testData/codegen/box/when/whenSubjectVariable/subjectExpressionIsEvaluatedOnce.kt b/compiler/testData/codegen/box/when/whenSubjectVariable/subjectExpressionIsEvaluatedOnce.kt index 2f4d0444658..0da0c54b834 100644 --- a/compiler/testData/codegen/box/when/whenSubjectVariable/subjectExpressionIsEvaluatedOnce.kt +++ b/compiler/testData/codegen/box/when/whenSubjectVariable/subjectExpressionIsEvaluatedOnce.kt @@ -1,5 +1,5 @@ // !LANGUAGE: +VariableDeclarationInWhenSubject -// IGNORE_BACKEND: JS, JS_IR +// IGNORE_BACKEND: JS var effectCount = 0