summaryrefslogtreecommitdiff
path: root/src/wasm.c
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2015-12-30 12:51:52 -0800
committerBen Smith <binji@chromium.org>2015-12-30 12:52:19 -0800
commite833f46a5ff354901878d31e863a7989ab875329 (patch)
treef765788e44fdbdad7a334a2ee2e5f1a2608cbe23 /src/wasm.c
parent3f1322072e3ebc95dfeecc33e11095ff4a2638de (diff)
downloadwabt-e833f46a5ff354901878d31e863a7989ab875329.tar.gz
wabt-e833f46a5ff354901878d31e863a7989ab875329.tar.bz2
wabt-e833f46a5ff354901878d31e863a7989ab875329.zip
remove "label" node
block nodes now always create a new scope
Diffstat (limited to 'src/wasm.c')
-rw-r--r--src/wasm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wasm.c b/src/wasm.c
index 64632731..beedbd66 100644
--- a/src/wasm.c
+++ b/src/wasm.c
@@ -232,10 +232,6 @@ static void wasm_destroy_expr(WasmExpr* expr) {
wasm_destroy_expr_ptr(&expr->if_else.true_);
wasm_destroy_expr_ptr(&expr->if_else.false_);
break;
- case WASM_EXPR_TYPE_LABEL:
- wasm_destroy_string_slice(&expr->label.label);
- wasm_destroy_expr_ptr(&expr->label.expr);
- break;
case WASM_EXPR_TYPE_LOAD:
case WASM_EXPR_TYPE_LOAD_EXTEND:
wasm_destroy_expr_ptr(&expr->load.addr);