Reviewers: fschneider,

Description:
Fix cctest/test-heap/InstanceOfStubWriteBarrier when Crankshaft is disabled.

[email protected]


Please review this at http://codereview.chromium.org/9188010/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M test/cctest/test-heap.cc


Index: test/cctest/test-heap.cc
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
index 98fee1cc3805751b27a6da2aab09781baa5c6e34..a984ab6ef1312cb9b7e3a6780d4837c82afa8786 100644
--- a/test/cctest/test-heap.cc
+++ b/test/cctest/test-heap.cc
@@ -1479,7 +1479,7 @@ TEST(LeakGlobalContextViaMapProto) {


 TEST(InstanceOfStubWriteBarrier) {
-  if (!i::FLAG_crankshaft) return;
+  if (!i::V8::UseCrankshaft()) return;
   i::FLAG_allow_natives_syntax = true;
 #ifdef DEBUG
   i::FLAG_verify_heap = true;


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to