[Wasm] Remove unused WasmI1 type

This commit is contained in:
Svyatoslav Kuzmich
2020-12-14 14:50:15 +03:00
parent 22239e2733
commit 38967f208e
2 changed files with 0 additions and 2 deletions
@@ -357,7 +357,6 @@ class DeclarationGenerator(val context: WasmModuleCodegenContext) : IrElementVis
fun generateDefaultInitializerForType(type: WasmType, g: WasmExpressionBuilder) = when (type) {
WasmI32 -> g.buildConstI32(0)
WasmI1 -> g.buildConstI32(0)
WasmI64 -> g.buildConstI64(0)
WasmF32 -> g.buildConstF32(0f)
WasmF64 -> g.buildConstF64(0.0)
@@ -15,7 +15,6 @@ sealed class WasmType(
// TODO: Remove this type.
object WasmUnreachableType : WasmType("unreachable", -0x40)
object WasmI32 : WasmType("i32", -0x1)
object WasmI1 : WasmType("i32", -0x1)
object WasmI64 : WasmType("i64", -0x2)
object WasmF32 : WasmType("f32", -0x3)
object WasmF64 : WasmType("f64", -0x4)