Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 24324ee6a449765922712a095454db443ef7db9c..849833e58018e9714ff82228bacfdaf138461993 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -19287,6 +19287,7 @@ void CheckCorrectThrow(const char* script) { |
TEST(AccessCheckThrows) { |
i::FLAG_allow_natives_syntax = true; |
+ i::FLAG_turbo_try_catch = true; |
v8::V8::Initialize(); |
v8::V8::SetFailedAccessCheckCallbackFunction(&FailedAccessCheckThrows); |
v8::Isolate* isolate = CcTest::isolate(); |