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 fb67597b9..2277fed93 100644
--- a/src/wasm-builder.h
+++ b/src/wasm-builder.h
@@ -708,9 +708,9 @@ public:
ret->finalize();
return ret;
}
- Rethrow* makeRethrow(Index depth) {
+ Rethrow* makeRethrow(Name target) {
auto* ret = wasm.allocator.alloc<Rethrow>();
- ret->depth = depth;
+ ret->target = target;
ret->finalize();
return ret;
}