[Wasm] Make specialisations for closured primitive values

Fixed KT-66065
This commit is contained in:
Igor Yakovlev
2024-02-23 18:03:08 +01:00
committed by Space Team
parent 4eba0075bb
commit 60d425e2c7
7 changed files with 114 additions and 189 deletions
+2 -11
View File
@@ -38,19 +38,10 @@ fun f(block: () -> Unit) {
// test.kt:8 box
// EXPECTATIONS WASM
// test.kt:4 $box (12, 12, 4)
// Runtime.kt:70 $kotlin.wasm.internal.getBoxedBoolean (8, 8)
// Runtime.kt:73 $kotlin.wasm.internal.getBoxedBoolean (8, 35)
// Standard.kt:71 $kotlin.wasm.internal.getBoxedBoolean (0, 0, 0, 0)
// Standard.kt:95 $kotlin.wasm.internal.getBoxedBoolean (4, 4)
// Standard.kt:98 $kotlin.wasm.internal.getBoxedBoolean (4, 10, 4, 10)
// Standard.kt:74 $kotlin.wasm.internal.getBoxedBoolean (15, 7)
// Standard.kt:99 $kotlin.wasm.internal.getBoxedBoolean (11, 4, 11, 4)
// Runtime.kt:74 $kotlin.wasm.internal.getBoxedBoolean (5, 5)
// test.kt:4 $box (12, 12, 12, 4)
// ClosureBoxes.kt:9 $kotlin.wasm.internal.ClosureBoxBoolean.<init> (33, 52)
// test.kt:5 $box (6, 6, 4)
// test.kt:11 $f
// test.kt:6 $box$lambda.invoke (8, 12, 8, 16)
// Runtime.kt:71 $kotlin.wasm.internal.getBoxedBoolean (8, 33)
// Standard.kt:68 $kotlin.wasm.internal.getBoxedBoolean (25, 25, 25, 25, 45, 38)
// test.kt:12 $f
// test.kt:8 $box