summaryrefslogtreecommitdiff
path: root/src/tools/wasm-reduce.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2021-01-21 22:09:47 +0000
committerGitHub <noreply@github.com>2021-01-21 14:09:47 -0800
commit3f4d3b3eff5d8112a9da3674a5f5eea696ca3c7d (patch)
tree30d3ddedf6ae2de10f56d6acea64f2b17640041b /src/tools/wasm-reduce.cpp
parent527e9f9ed76cee0baaa67e89569c282a3782be08 (diff)
downloadbinaryen-3f4d3b3eff5d8112a9da3674a5f5eea696ca3c7d.tar.gz
binaryen-3f4d3b3eff5d8112a9da3674a5f5eea696ca3c7d.tar.bz2
binaryen-3f4d3b3eff5d8112a9da3674a5f5eea696ca3c7d.zip
[GC] Add dataref type (#3500)
This is not 100% of everything, but is enough to get tests passing, which includes full binary and text format support, getting all switches to compile without error, and some additions to InstrumentLocals.
Diffstat (limited to 'src/tools/wasm-reduce.cpp')
-rw-r--r--src/tools/wasm-reduce.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/wasm-reduce.cpp b/src/tools/wasm-reduce.cpp
index 1d5164397..a9b3e3068 100644
--- a/src/tools/wasm-reduce.cpp
+++ b/src/tools/wasm-reduce.cpp
@@ -612,6 +612,7 @@ struct Reducer
case Type::anyref:
case Type::eqref:
case Type::i31ref:
+ case Type::dataref:
continue; // not implemented yet
case Type::none:
case Type::unreachable:
@@ -640,6 +641,7 @@ struct Reducer
case Type::anyref:
case Type::eqref:
case Type::i31ref:
+ case Type::dataref:
continue; // not implemented yet
case Type::none:
case Type::unreachable:
@@ -668,6 +670,7 @@ struct Reducer
case Type::anyref:
case Type::eqref:
case Type::i31ref:
+ case Type::dataref:
continue; // not implemented yet
case Type::none:
case Type::unreachable:
@@ -696,6 +699,7 @@ struct Reducer
case Type::anyref:
case Type::eqref:
case Type::i31ref:
+ case Type::dataref:
continue; // not implemented yet
case Type::none:
case Type::unreachable:
@@ -710,6 +714,7 @@ struct Reducer
case Type::anyref:
case Type::eqref:
case Type::i31ref:
+ case Type::dataref:
continue; // not implemented yet
case Type::none:
case Type::unreachable: