summaryrefslogtreecommitdiff
path: root/src/wasm/wasm.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2018-09-12 09:45:34 -0700
committerGitHub <noreply@github.com>2018-09-12 09:45:34 -0700
commit5d9ff4e46b595a5f20aa4732256462609a9614ea (patch)
tree56e57fa1cebd7527866ecd9923e26e828c8b907d /src/wasm/wasm.cpp
parent4d737f27edb5e2bb5f514aae800ba9c6ab61ca5a (diff)
downloadbinaryen-5d9ff4e46b595a5f20aa4732256462609a9614ea.tar.gz
binaryen-5d9ff4e46b595a5f20aa4732256462609a9614ea.tar.bz2
binaryen-5d9ff4e46b595a5f20aa4732256462609a9614ea.zip
remove PageSize and HasFeature, which wasm removed a while back (#1667)
From #1665 (a fuzz bug noticed they were not handled in stack.h).
Diffstat (limited to 'src/wasm/wasm.cpp')
-rw-r--r--src/wasm/wasm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp
index 433803772..ac3623cee 100644
--- a/src/wasm/wasm.cpp
+++ b/src/wasm/wasm.cpp
@@ -558,7 +558,7 @@ void Drop::finalize() {
void Host::finalize() {
switch (op) {
- case PageSize: case CurrentMemory: case HasFeature: {
+ case CurrentMemory: {
type = i32;
break;
}