Skip to content

Commit 7280921

Browse files
Done ish
1 parent 5894b40 commit 7280921

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tools/wasm-ctor-eval.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,6 +1163,10 @@ EvalCtorOutcome evalCtor(EvallingModuleRunner& instance,
11631163
std::cout << " ...stopping due to non-constant func\n";
11641164
}
11651165
break;
1166+
} catch (TrapException& trap) {
1167+
if (!quiet) {
1168+
std::cout << " ...stopping due to trap\n";
1169+
}
11661170
}
11671171

11681172
if (flow.breakTo == NONCONSTANT_FLOW) {

0 commit comments

Comments
 (0)