[v8] r12732 committed - Merged r12731 into trunk branch....

7 views
Skip to first unread message

codesite...@google.com

unread,
Oct 15, 2012, 8:40:52 AM10/15/12
to v8-...@googlegroups.com
Revision: 12732
Author: sven...@chromium.org
Date: Mon Oct 15 05:39:45 2012
Log: Merged r12731 into trunk branch.

Fixed VERIFY_HEAP without DEBUG.

R=jkum...@chromium.org

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

Modified:
/trunk/src/profile-generator.cc
/trunk/src/version.cc

=======================================
--- /trunk/src/profile-generator.cc Mon Oct 15 04:51:39 2012
+++ /trunk/src/profile-generator.cc Mon Oct 15 05:39:45 2012
@@ -3094,13 +3094,13 @@
Heap::kMakeHeapIterableMask,
"HeapSnapshotGenerator::GenerateSnapshot");

-#ifdef DEBUG
+#ifdef VERIFY_HEAP
Heap* debug_heap = Isolate::Current()->heap();
- ASSERT(!debug_heap->old_data_space()->was_swept_conservatively());
- ASSERT(!debug_heap->old_pointer_space()->was_swept_conservatively());
- ASSERT(!debug_heap->code_space()->was_swept_conservatively());
- ASSERT(!debug_heap->cell_space()->was_swept_conservatively());
- ASSERT(!debug_heap->map_space()->was_swept_conservatively());
+ CHECK(!debug_heap->old_data_space()->was_swept_conservatively());
+ CHECK(!debug_heap->old_pointer_space()->was_swept_conservatively());
+ CHECK(!debug_heap->code_space()->was_swept_conservatively());
+ CHECK(!debug_heap->cell_space()->was_swept_conservatively());
+ CHECK(!debug_heap->map_space()->was_swept_conservatively());
#endif

// The following code uses heap iterators, so we want the heap to be
=======================================
--- /trunk/src/version.cc Mon Oct 15 04:51:39 2012
+++ /trunk/src/version.cc Mon Oct 15 05:39:45 2012
@@ -35,7 +35,7 @@
#define MAJOR_VERSION 3
#define MINOR_VERSION 14
#define BUILD_NUMBER 4
-#define PATCH_LEVEL 0
+#define PATCH_LEVEL 1
// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
#define IS_CANDIDATE_VERSION 0
Reply all
Reply to author
Forward
0 new messages