Revision: 10942
Author: [email protected]
Date: Tue Mar 6 04:21:42 2012
Log: Fix test-random test.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/9616006
http://code.google.com/p/v8/source/detail?r=10942
Modified:
/branches/bleeding_edge/test/cctest/test-random.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-random.cc Tue Mar 6 03:31:51
2012
+++ /branches/bleeding_edge/test/cctest/test-random.cc Tue Mar 6 04:21:42
2012
@@ -91,7 +91,7 @@
// Optimize function.
Execution::Call(fun, global, 0, NULL, &has_pending_exception);
Execution::Call(fun, global, 0, NULL, &has_pending_exception);
- fun->MarkForLazyRecompilation();
+ if (!fun->IsOptimized()) fun->MarkForLazyRecompilation();
// Test with some random values.
TestSeeds(fun, context, 0xC0C0AFFE, 0x31415926);
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev