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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h
index 0d2ecd570..40f2a41a0 100644
--- a/src/wasm-s-parser.h
+++ b/src/wasm-s-parser.h
@@ -897,7 +897,7 @@ private:
auto* ret = parseExpression(&s);
labelStack.pop_back();
if (explicitThenElse) {
- ret->dyn_cast<Block>()->name = name;
+ ret->dynCast<Block>()->name = name;
} else {
// add a block if we must
if (BreakSeeker::has(ret, name)) {