diff --git a/compiler/testData/codegen/bytecodeText/constClosureOptimization.kt b/compiler/testData/codegen/bytecodeText/constClosureOptimization.kt index 65e28073b2e..c8e3a272503 100644 --- a/compiler/testData/codegen/bytecodeText/constClosureOptimization.kt +++ b/compiler/testData/codegen/bytecodeText/constClosureOptimization.kt @@ -1,7 +1,3 @@ -// IGNORE_BACKEND_FIR: JVM_IR -// IGNORE_BACKEND: JVM_IR -// TODO KT-36637 Trivial closure optimizatin in JVM_IR - fun test() { fun local(){ @@ -21,6 +17,12 @@ fun test() { (::local)() } +// JVM_TEMPLATES // 3 GETSTATIC ConstClosureOptimizationKt\$test\$1\.INSTANCE // 1 GETSTATIC ConstClosureOptimizationKt\$test\$2\.INSTANCE // 1 GETSTATIC ConstClosureOptimizationKt\$test\$3\.INSTANCE + +// JVM_IR_TEMPLATES +// 1 GETSTATIC ConstClosureOptimizationKt\$test\$1.INSTANCE +// 1 GETSTATIC ConstClosureOptimizationKt\$test\$2.INSTANCE +// 1 GETSTATIC ConstClosureOptimizationKt\$test\$local\$1.INSTANCE \ No newline at end of file