Index: test/cctest/test-mementos.cc |
diff --git a/test/cctest/test-mementos.cc b/test/cctest/test-mementos.cc |
index 9aa1e6d30e70c7fd8284fffe349242a10da217d2..a97666384bf245d3f7c1b840d93ddc9673cbb0f4 100644 |
--- a/test/cctest/test-mementos.cc |
+++ b/test/cctest/test-mementos.cc |
@@ -101,6 +101,7 @@ TEST(PretenuringCallNew) { |
CcTest::InitializeVM(); |
if (!i::FLAG_allocation_site_pretenuring) return; |
if (!i::FLAG_pretenuring_call_new) return; |
+ if (i::FLAG_always_opt) return; |
v8::HandleScope scope(CcTest::isolate()); |
Isolate* isolate = CcTest::i_isolate(); |