Index: test/cctest/test-weakmaps.cc |
diff --git a/test/cctest/test-weakmaps.cc b/test/cctest/test-weakmaps.cc |
index 7bba7b64866654284989aa87c6663394e53b396e..7c98c573c3605c02899091ac867664248a7b5884 100644 |
--- a/test/cctest/test-weakmaps.cc |
+++ b/test/cctest/test-weakmaps.cc |
@@ -193,9 +193,10 @@ TEST(Regress2060a) { |
// other strong paths are correctly recorded in the slots buffer. |
TEST(Regress2060b) { |
FLAG_always_compact = true; |
-#ifdef DEBUG |
+#ifdef VERIFY_HEAP |
FLAG_verify_heap = true; |
#endif |
+ |
LocalContext context; |
v8::HandleScope scope; |
Handle<JSFunction> function = |