Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SoniEx2 authored and keithw committed Apr 21, 2023
1 parent c7247a2 commit 930d325
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/c-writer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1088,13 +1088,13 @@ void CWriter::Write(const GotoLabel& goto_label) {
}

assert(try_catch_stack_.size() >= label->try_catch_stack_size);
}

if (try_catch_stack_.size() != label->try_catch_stack_size) {
const std::string& name =
try_catch_stack_.at(label->try_catch_stack_size).name;
if (try_catch_stack_.size() != label->try_catch_stack_size) {
const std::string& name =
try_catch_stack_.at(label->try_catch_stack_size).name;

Write("wasm_rt_set_unwind_target(", name, "_outer_target);", Newline());
}
Write("wasm_rt_set_unwind_target(", name, "_outer_target);", Newline());
}

if (goto_label.var.is_name()) {
Expand Down

0 comments on commit 930d325

Please sign in to comment.