Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 462979da5320000d6b90de34ebf6c32d922ffa81..0fef82ddef8653e4be2a343a18663fcf00584e6c 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -4050,6 +4050,7 @@ static int GetCodeChainLength(Code* code) { |
TEST(NextCodeLinkIsWeak) { |
i::FLAG_allow_natives_syntax = true; |
+ i::FLAG_turbo_deoptimization = true; |
CcTest::InitializeVM(); |
Isolate* isolate = CcTest::i_isolate(); |
v8::internal::Heap* heap = CcTest::heap(); |