Revision: 10394
Author: [email protected]
Date: Wed Jan 11 09:28:23 2012
Log: Fix cctest/test-heap/InstanceOfStubWriteBarrier when Crankshaft
is disabled.
[email protected]
Review URL: http://codereview.chromium.org/9188010
http://code.google.com/p/v8/source/detail?r=10394
Modified:
/branches/bleeding_edge/test/cctest/test-heap.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-heap.cc Wed Jan 11 02:59:21
2012
+++ /branches/bleeding_edge/test/cctest/test-heap.cc Wed Jan 11 09:28:23
2012
@@ -1517,12 +1517,12 @@
TEST(InstanceOfStubWriteBarrier) {
- if (!i::FLAG_crankshaft) return;
i::FLAG_allow_natives_syntax = true;
#ifdef DEBUG
i::FLAG_verify_heap = true;
#endif
InitializeVM();
+ if (!i::V8::UseCrankshaft()) return;
v8::HandleScope outer_scope;
{
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev