diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm/wasm-binary.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/wasm/wasm-binary.cpp b/src/wasm/wasm-binary.cpp index 11346056a..1b82f5760 100644 --- a/src/wasm/wasm-binary.cpp +++ b/src/wasm/wasm-binary.cpp @@ -6345,13 +6345,6 @@ void WasmBinaryBuilder::visitTryOrTryInBlock(Expression*& out) { curr->type = getType(); curr->body = getBlockOrSingleton(curr->type); - // try without catch or delegate - if (lastSeparator == BinaryConsts::End) { - curr->finalize(); - out = curr; - return; - } - Builder builder(wasm); // A nameless label shared by all catch body blocks Name catchLabel = getNextLabel(); |