summaryrefslogtreecommitdiff
path: root/src/wasm.c
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2016-01-05 11:47:05 -0800
committerBen Smith <binji@chromium.org>2016-01-05 11:50:20 -0800
commit519b49121bf028d8646a78e2621c3934fc92c095 (patch)
tree1b335a7e7ea4443ae4ff42858403174db6951fd6 /src/wasm.c
parentd813f8351f17e8be44acd77127e9a6b8e1a69105 (diff)
downloadwabt-519b49121bf028d8646a78e2621c3934fc92c095.tar.gz
wabt-519b49121bf028d8646a78e2621c3934fc92c095.tar.bz2
wabt-519b49121bf028d8646a78e2621c3934fc92c095.zip
Remove STORE_WRAP and LOAD_EXTEND expr nodes
They were copied as token types from the spec repo's parser, but they were never treated distinctly. They don't provide any additional information. Also, the spec repo doesn't reference them anymore anyway.
Diffstat (limited to 'src/wasm.c')
-rw-r--r--src/wasm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wasm.c b/src/wasm.c
index beedbd66..fd5015e3 100644
--- a/src/wasm.c
+++ b/src/wasm.c
@@ -233,7 +233,6 @@ static void wasm_destroy_expr(WasmExpr* expr) {
wasm_destroy_expr_ptr(&expr->if_else.false_);
break;
case WASM_EXPR_TYPE_LOAD:
- case WASM_EXPR_TYPE_LOAD_EXTEND:
wasm_destroy_expr_ptr(&expr->load.addr);
break;
case WASM_EXPR_TYPE_LOAD_GLOBAL:
@@ -258,7 +257,6 @@ static void wasm_destroy_expr(WasmExpr* expr) {
wasm_destroy_expr_ptr(&expr->set_local.expr);
break;
case WASM_EXPR_TYPE_STORE:
- case WASM_EXPR_TYPE_STORE_WRAP:
wasm_destroy_expr_ptr(&expr->store.addr);
wasm_destroy_expr_ptr(&expr->store.value);
break;