summaryrefslogtreecommitdiff
path: root/src/wasm-builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-builder.h')
-rw-r--r--src/wasm-builder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h
index a83a0c0c2..49c9bb0ba 100644
--- a/src/wasm-builder.h
+++ b/src/wasm-builder.h
@@ -899,12 +899,12 @@ public:
ret->finalize();
return ret;
}
- BrOn* makeBrOn(BrOnOp op, Name name, Expression* ref, HeapType intendedType) {
+ BrOn* makeBrOn(BrOnOp op, Name name, Expression* ref, Type castType) {
auto* ret = wasm.allocator.alloc<BrOn>();
ret->op = op;
ret->name = name;
ret->ref = ref;
- ret->intendedType = intendedType;
+ ret->castType = castType;
ret->finalize();
return ret;
}