Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index b643e7d60e0893a7a6de8b83f936b116919479aa..98fee1cc3805751b27a6da2aab09781baa5c6e34 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -1481,7 +1481,9 @@ TEST(LeakGlobalContextViaMapProto) { |
TEST(InstanceOfStubWriteBarrier) { |
if (!i::FLAG_crankshaft) return; |
i::FLAG_allow_natives_syntax = true; |
+#ifdef DEBUG |
i::FLAG_verify_heap = true; |
+#endif |
InitializeVM(); |
v8::HandleScope outer_scope; |