Revision: 4842
Author: [email protected]
Date: Fri Jun 11 01:52:36 2010
Log: Only perform code flusing test if we actually do code flushing.
Puts a check into the code flushing test to only perform this if the
flush_code flag is set to true.
Review URL: http://codereview.chromium.org/2734006
http://code.google.com/p/v8/source/detail?r=4842
Modified:
/branches/bleeding_edge/test/cctest/test-heap.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-heap.cc Mon Jun 7 08:39:10
2010
+++ /branches/bleeding_edge/test/cctest/test-heap.cc Fri Jun 11 01:52:36
2010
@@ -960,6 +960,8 @@
TEST(TestCodeFlushing) {
i::FLAG_allow_natives_syntax = true;
+ // If we do not flush code this test is invalid.
+ if (!FLAG_flush_code) return;
InitializeVM();
v8::HandleScope scope;
const char* source = "function foo() {"
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev