Index: test/cctest/wasm/test-wasm-trap-position.cc |
diff --git a/test/cctest/wasm/test-wasm-trap-position.cc b/test/cctest/wasm/test-wasm-trap-position.cc |
index 026862063c060f9f5ceb2a3b6f8239203a99448a..59ecebcff0fb41a40c54476a62eb2dfdccff60ea 100644 |
--- a/test/cctest/wasm/test-wasm-trap-position.cc |
+++ b/test/cctest/wasm/test-wasm-trap-position.cc |
@@ -83,7 +83,8 @@ TEST(Unreachable) { |
MaybeHandle<Object> maybe_exc; |
Handle<Object> args[] = {js_wasm_wrapper}; |
MaybeHandle<Object> returnObjMaybe = |
- Execution::TryCall(isolate, js_trampoline, global, 1, args, &maybe_exc); |
+ Execution::TryCall(isolate, js_trampoline, global, 1, args, |
+ Execution::MessageHandling::kReport, &maybe_exc); |
CHECK(returnObjMaybe.is_null()); |
// Line and column are 1-based, so add 1 for the expected wasm output. |
@@ -124,7 +125,8 @@ TEST(IllegalLoad) { |
MaybeHandle<Object> maybe_exc; |
Handle<Object> args[] = {js_wasm_wrapper}; |
MaybeHandle<Object> returnObjMaybe = |
- Execution::TryCall(isolate, js_trampoline, global, 1, args, &maybe_exc); |
+ Execution::TryCall(isolate, js_trampoline, global, 1, args, |
+ Execution::MessageHandling::kReport, &maybe_exc); |
CHECK(returnObjMaybe.is_null()); |
// Line and column are 1-based, so add 1 for the expected wasm output. |