[JS IR] Make tests that use directives pass with IR BE

This commit is contained in:
Sergej Jaskiewicz
2021-10-04 20:44:06 +03:00
committed by Space
parent a359e503fb
commit 65d40c2253
101 changed files with 415 additions and 217 deletions
@@ -1,5 +1,6 @@
// EXPECTED_REACHABLE_NODES: 1285
// HAS_NO_CAPTURED_VARS: function=A_init except=Kotlin;A;equals
// HAS_NO_CAPTURED_VARS: function=A_init except=Kotlin;A;equals TARGET_BACKENDS=JS
// TODO: Enable this when KT-***** is resolved. // HAS_NO_CAPTURED_VARS: function=A_init_$Init$ except=A;equals IGNORED_BACKENDS=JS
class A() {
var y: String? = null
@@ -1,6 +1,7 @@
// KJS_WITH_FULL_RUNTIME
// EXPECTED_REACHABLE_NODES: 1283
// CHECK_VARS_COUNT: function=test count=2
// CHECK_VARS_COUNT: function=test count=2 TARGET_BACKENDS=JS
// CHECK_VARS_COUNT: function=test_1 count=4 IGNORED_BACKENDS=JS
var log = ""
fun test() {