Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index d6285db026bba0d530576b0216ec44f506274f7c..15b1cba76d9ca25b418b608b3ea23a5915ec4df1 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -1520,9 +1520,10 @@ TEST(LeakNativeContextViaMapProto) { |
TEST(InstanceOfStubWriteBarrier) { |
i::FLAG_allow_natives_syntax = true; |
-#ifdef DEBUG |
+#ifdef VERIFY_HEAP |
i::FLAG_verify_heap = true; |
#endif |
+ |
InitializeVM(); |
if (!i::V8::UseCrankshaft()) return; |
v8::HandleScope outer_scope; |
@@ -1631,9 +1632,10 @@ TEST(PrototypeTransitionClearing) { |
TEST(ResetSharedFunctionInfoCountersDuringIncrementalMarking) { |
i::FLAG_allow_natives_syntax = true; |
-#ifdef DEBUG |
+#ifdef VERIFY_HEAP |
i::FLAG_verify_heap = true; |
#endif |
+ |
InitializeVM(); |
if (!i::V8::UseCrankshaft()) return; |
v8::HandleScope outer_scope; |
@@ -1686,9 +1688,10 @@ TEST(ResetSharedFunctionInfoCountersDuringIncrementalMarking) { |
TEST(ResetSharedFunctionInfoCountersDuringMarkSweep) { |
i::FLAG_allow_natives_syntax = true; |
-#ifdef DEBUG |
+#ifdef VERIFY_HEAP |
i::FLAG_verify_heap = true; |
#endif |
+ |
InitializeVM(); |
if (!i::V8::UseCrankshaft()) return; |
v8::HandleScope outer_scope; |