Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index ce03bb42986c8679bfb6eb36975cf4441fbbd96f..1e4e332b4ee259289b8ad3171199d876f9fb1389 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -1517,12 +1517,12 @@ TEST(LeakGlobalContextViaMapProto) { |
TEST(InstanceOfStubWriteBarrier) { |
- if (!i::FLAG_crankshaft) return; |
i::FLAG_allow_natives_syntax = true; |
#ifdef DEBUG |
i::FLAG_verify_heap = true; |
#endif |
InitializeVM(); |
+ if (!i::V8::UseCrankshaft()) return; |
v8::HandleScope outer_scope; |
{ |