summaryrefslogtreecommitdiff
path: root/src/tools/spec-wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/spec-wrapper.h')
-rw-r--r--src/tools/spec-wrapper.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/tools/spec-wrapper.h b/src/tools/spec-wrapper.h
index c2a49c598..366e8d4fc 100644
--- a/src/tools/spec-wrapper.h
+++ b/src/tools/spec-wrapper.h
@@ -52,18 +52,6 @@ inline std::string generateSpecWrapper(Module& wasm) {
case Type::v128:
ret += "(v128.const i32x4 0 0 0 0)";
break;
- case Type::funcref:
- ret += "(ref.null func)";
- break;
- case Type::anyref:
- ret += "(ref.null any)";
- break;
- case Type::eqref:
- ret += "(ref.null eq)";
- break;
- case Type::i31ref:
- case Type::dataref:
- WASM_UNREACHABLE("TODO: reftypes");
case Type::none:
case Type::unreachable:
WASM_UNREACHABLE("unexpected type");