diff options
Diffstat (limited to 'src/asmjs/asm_v_wasm.cpp')
-rw-r--r-- | src/asmjs/asm_v_wasm.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/asmjs/asm_v_wasm.cpp b/src/asmjs/asm_v_wasm.cpp index 84c738060..b07ef8534 100644 --- a/src/asmjs/asm_v_wasm.cpp +++ b/src/asmjs/asm_v_wasm.cpp @@ -38,6 +38,7 @@ AsmType wasmToAsmType(Type type) { case Type::anyref: case Type::eqref: case Type::i31ref: + case Type::dataref: assert(false && "reference types are not supported by asm2wasm"); case Type::none: return ASM_NONE; @@ -72,6 +73,8 @@ char getSig(Type type) { return 'Q'; case Type::i31ref: return 'I'; + case Type::dataref: + return 'D'; case Type::none: return 'v'; case Type::unreachable: |