diff options
Diffstat (limited to 'src/wasm/wasm-stack.cpp')
-rw-r--r-- | src/wasm/wasm-stack.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wasm/wasm-stack.cpp b/src/wasm/wasm-stack.cpp index cb8702d0c..95cb4a44c 100644 --- a/src/wasm/wasm-stack.cpp +++ b/src/wasm/wasm-stack.cpp @@ -2316,6 +2316,10 @@ void StackIRToBinaryWriter::write() { writer.emitCatch(inst->origin->cast<Try>(), catchIndexStack.back()++); break; } + case StackInst::CatchAll: { + writer.emitCatchAll(inst->origin->cast<Try>()); + break; + } default: WASM_UNREACHABLE("unexpected op"); } |