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