summaryrefslogtreecommitdiff
path: root/src/wasm-s-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-s-parser.h')
-rw-r--r--src/wasm-s-parser.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h
index d4ec163cf..a33866af9 100644
--- a/src/wasm-s-parser.h
+++ b/src/wasm-s-parser.h
@@ -1048,7 +1048,6 @@ private:
if (curr.size() < 2) onError();
ret->cases.emplace_back(curr[1]->str(), makeMaybeBlock(curr, 2, curr.size()));
}
- ret->updateCaseMap();
ret->type = ret->cases.size() > 0 ? ret->cases[0].body->type : none;
return ret;
}