[Wasm] Make specialisations for closured primitive values
Fixed KT-66065
This commit is contained in:
committed by
Space Team
parent
4eba0075bb
commit
60d425e2c7
+2
-11
@@ -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
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@ fun box() {
|
||||
// EXPECTATIONS WASM
|
||||
// test.kt:18 $box
|
||||
// test.kt:10 $flaf
|
||||
// test.kt:7 $flaf (46, 46, 57)
|
||||
// test.kt:7 $flaf (46, 57)
|
||||
// test.kt:6 $foo (39, 46)
|
||||
// test.kt:7 $flaf$lambda.invoke (52, 55)
|
||||
// kotlin-package.kt:6 $flaf$lambda.invoke
|
||||
|
||||
@@ -77,6 +77,7 @@ fun box() {
|
||||
// Array.kt:75 $kotlin.Array.set (8, 20, 27, 16, 8, 20, 27, 16)
|
||||
// Array.kt:76 $kotlin.Array.set (5, 5)
|
||||
// String.kt:149 $kotlin.stringLiteral (11, 4, 11, 4)
|
||||
// ClosureBoxes.kt:8 $kotlin.wasm.internal.ClosureBoxAny.<init> (29, 44)
|
||||
// test.kt:22 $box
|
||||
// test.kt:9 $box (4, 4)
|
||||
// test.kt:15 $<no name provided>.<init>
|
||||
|
||||
Reference in New Issue
Block a user