[Wasm IR] Add data heap type
This commit is contained in:
@@ -51,6 +51,8 @@ sealed class WasmHeapType {
|
|||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
object ExnH : Simple("exn", -0x18)
|
object ExnH : Simple("exn", -0x18)
|
||||||
|
|
||||||
|
object Data : Simple("data", -0x19)
|
||||||
|
|
||||||
override fun toString(): String {
|
override fun toString(): String {
|
||||||
return "Simple:$name(${code.toString(16)})"
|
return "Simple:$name(${code.toString(16)})"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user