summaryrefslogtreecommitdiff
path: root/src/tools/wasm-shell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wasm-shell.cpp')
-rw-r--r--src/tools/wasm-shell.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/wasm-shell.cpp b/src/tools/wasm-shell.cpp
index 617d56313..51eafb652 100644
--- a/src/tools/wasm-shell.cpp
+++ b/src/tools/wasm-shell.cpp
@@ -347,8 +347,8 @@ protected:
spectest->addExport(
builder.makeExport("global_f64", Name::fromInt(3), ExternalKind::Global));
- spectest->addTable(
- builder.makeTable(Name::fromInt(0), Type::funcref, 10, 20));
+ spectest->addTable(builder.makeTable(
+ Name::fromInt(0), Type(HeapType::func, Nullable), 10, 20));
spectest->addExport(
builder.makeExport("table", Name::fromInt(0), ExternalKind::Table));