diff options
Diffstat (limited to 'src/asm2wasm.h')
-rw-r--r-- | src/asm2wasm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/asm2wasm.h b/src/asm2wasm.h index c29323531..9fa8d11dd 100644 --- a/src/asm2wasm.h +++ b/src/asm2wasm.h @@ -206,6 +206,7 @@ private: switch (asmType) { case ASM_INT: return WasmType::i32; case ASM_DOUBLE: return WasmType::f64; + case ASM_FLOAT: return WasmType::f32; case ASM_NONE: return WasmType::none; default: {} } @@ -215,6 +216,7 @@ private: AsmType wasmToAsmType(WasmType type) { switch (type) { case WasmType::i32: return ASM_INT; + case WasmType::f32: return ASM_FLOAT; case WasmType::f64: return ASM_DOUBLE; case WasmType::none: return ASM_NONE; default: {} |