Revision: 12719
Author:   [email protected]
Date:     Sun Oct 14 23:34:22 2012
Log:      Fixed heap verification guards.

[email protected]

Review URL: https://codereview.chromium.org/11147016
http://code.google.com/p/v8/source/detail?r=12719

Modified:
 /branches/bleeding_edge/src/bootstrapper.cc
 /branches/bleeding_edge/src/execution.cc
 /branches/bleeding_edge/src/profile-generator.cc
 /branches/bleeding_edge/test/cctest/test-serialize.cc

=======================================
--- /branches/bleeding_edge/src/bootstrapper.cc Tue Sep 18 06:25:12 2012
+++ /branches/bleeding_edge/src/bootstrapper.cc Sun Oct 14 23:34:22 2012
@@ -1806,7 +1806,7 @@
     native_context()->set_regexp_result_map(*initial_map);
   }

-#ifdef DEBUG
+#ifdef VERIFY_HEAP
   builtins->Verify();
 #endif

=======================================
--- /branches/bleeding_edge/src/execution.cc    Fri Aug 17 05:59:00 2012
+++ /branches/bleeding_edge/src/execution.cc    Sun Oct 14 23:34:22 2012
@@ -118,7 +118,7 @@
CALL_GENERATED_CODE(stub_entry, function_entry, func, recv, argc, argv);
   }

-#ifdef DEBUG
+#ifdef VERIFY_HEAP
   value->Verify();
 #endif

=======================================
--- /branches/bleeding_edge/src/profile-generator.cc Thu Oct 11 05:01:19 2012 +++ /branches/bleeding_edge/src/profile-generator.cc Sun Oct 14 23:34:22 2012
@@ -3107,13 +3107,13 @@
   // stable. It should follow TagGlobalObjects as that can allocate.
   AssertNoAllocation no_alloc;

-#ifdef DEBUG
+#ifdef VERIFY_HEAP
   debug_heap->Verify();
 #endif

   SetProgressTotal(1);  // 1 pass.

-#ifdef DEBUG
+#ifdef VERIFY_HEAP
   debug_heap->Verify();
 #endif

=======================================
--- /branches/bleeding_edge/test/cctest/test-serialize.cc Fri Sep 14 04:16:56 2012 +++ /branches/bleeding_edge/test/cctest/test-serialize.cc Sun Oct 14 23:34:22 2012
@@ -285,7 +285,7 @@

 static void SanityCheck() {
   v8::HandleScope scope;
-#ifdef DEBUG
+#ifdef VERIFY_HEAP
   HEAP->Verify();
 #endif
   CHECK(Isolate::Current()->global_object()->IsJSObject());

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

Reply via email to