summaryrefslogtreecommitdiff
path: root/src/shell-interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shell-interface.h')
-rw-r--r--src/shell-interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shell-interface.h b/src/shell-interface.h
index ae86d13ec..8d35905ee 100644
--- a/src/shell-interface.h
+++ b/src/shell-interface.h
@@ -119,8 +119,11 @@ struct ShellExternalInterface : ModuleInstance::ExternalInterface {
case Type::externref:
case Type::exnref:
case Type::anyref:
+ case Type::eqref:
globals[import->name] = {Literal::makeNull(import->type)};
break;
+ case Type::i31ref:
+ WASM_UNREACHABLE("TODO: i31ref");
case Type::none:
case Type::unreachable:
WASM_UNREACHABLE("unexpected type");