[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
@@ -0,0 +1,16 @@
/*
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package kotlin.wasm.internal
internal class ClosureBoxAny(var value: Any)
internal class ClosureBoxBoolean(var value: Boolean)
internal class ClosureBoxByte(var value: Byte)
internal class ClosureBoxShort(var value: Short)
internal class ClosureBoxChar(var value: Char)
internal class ClosureBoxInt(var value: Int)
internal class ClosureBoxLong(var value: Long)
internal class ClosureBoxFloat(var value: Float)
internal class ClosureBoxDouble(var value: Double)