summaryrefslogtreecommitdiff
path: root/src/wasm2asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm2asm.h')
-rw-r--r--src/wasm2asm.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wasm2asm.h b/src/wasm2asm.h
index 20e199516..b256a63c5 100644
--- a/src/wasm2asm.h
+++ b/src/wasm2asm.h
@@ -383,9 +383,6 @@ void Wasm2AsmBuilder::scanFunctionBody(Expression* curr) {
void visitLoop(Loop *curr) override {
parent->setStatement(curr);
}
- void visitLabel(Label *curr) override {
- parent->setStatement(curr);
- }
void visitBreak(Break *curr) override {
parent->setStatement(curr);
}
@@ -604,9 +601,6 @@ Ref Wasm2AsmBuilder::processFunctionBody(Expression* curr, IString result) {
}
return ret;
}
- Ref visitLabel(Label *curr) override {
- return ValueBuilder::makeLabel(fromName(curr->name), visit(curr->body, result));
- }
Ref visitBreak(Break *curr) override {
if (curr->condition) {
// we need an equivalent to an if here, so use that code