diff options
Diffstat (limited to 'src/asmjs/asm_v_wasm.cpp')
-rw-r--r-- | src/asmjs/asm_v_wasm.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/asmjs/asm_v_wasm.cpp b/src/asmjs/asm_v_wasm.cpp index 38eb029f4..314c2494f 100644 --- a/src/asmjs/asm_v_wasm.cpp +++ b/src/asmjs/asm_v_wasm.cpp @@ -33,12 +33,6 @@ JsType wasmToJsType(Type type) { return JS_INT64; case Type::v128: WASM_UNREACHABLE("v128 not implemented yet"); - case Type::funcref: - case Type::anyref: - case Type::eqref: - case Type::i31ref: - case Type::dataref: - WASM_UNREACHABLE("reference types are not supported by wasm2js"); case Type::none: return JS_NONE; case Type::unreachable: @@ -60,16 +54,6 @@ char getSig(Type type) { return 'd'; case Type::v128: return 'V'; - case Type::funcref: - return 'F'; - case Type::anyref: - return 'A'; - case Type::eqref: - return 'Q'; - case Type::i31ref: - return 'I'; - case Type::dataref: - return 'D'; case Type::none: return 'v'; case Type::unreachable: |