Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(726)

Unified Diff: src/objects.cc

Issue 6088012: Separate markbits from heap object map words into bitmaps. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: profiler related code reenabled Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 927194f70daf2a14fb3d7617514f6326a293aacb..b75cb61c40d9c27b343dd7517bb5867c55f57c8b 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -39,6 +39,7 @@
#include "objects-inl.h"
#include "objects-visiting.h"
#include "macro-assembler.h"
+#include "mark-compact.h"
#include "safepoint-table.h"
#include "scanner-base.h"
#include "scopeinfo.h"
@@ -5372,7 +5373,7 @@ void Map::ClearNonLiveTransitions(Object* real_prototype) {
details.type() == CONSTANT_TRANSITION) {
Map* target = reinterpret_cast<Map*>(contents->get(i));
ASSERT(target->IsHeapObject());
- if (!target->IsMarked()) {
+ if (!Marking::IsMarked(target)) {
ASSERT(target->IsMap());
contents->set_unchecked(i + 1, NullDescriptorDetails);
contents->set_null_unchecked(i);

Powered by Google App Engine
This is Rietveld 408576698