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

Unified Diff: vm/object.cc

Issue 11265026: - Consolidate code into the old generation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 2 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: vm/object.cc
===================================================================
--- vm/object.cc (revision 14048)
+++ vm/object.cc (working copy)
@@ -6385,8 +6385,6 @@
aligned_size,
Heap::kCode);
NoGCScope no_gc;
- // TODO(iposva): Remove premarking once old and code spaces are merged.
- raw->SetMarkBit();
result ^= raw;
result.set_size(size);
}
@@ -6967,6 +6965,11 @@
}
+void Code::set_resolved_static_calls(const GrowableObjectArray& val) const {
+ StorePointer(&raw_ptr()->resolved_static_calls_, val.raw());
+}
+
+
const Code::Comments& Code::comments() const {
Comments* comments = new Code::Comments(raw_ptr()->comments_);
return *comments;
@@ -7108,7 +7111,7 @@
NoGCScope no_gc;
FindRawCodeVisitor visitor(pc);
RawInstructions* instr;
- instr = isolate->heap()->FindObjectInCodeSpace(&visitor);
+ instr = isolate->heap()->FindObjectInOldSpace(&visitor);
if (instr != Instructions::null()) {
return instr->ptr()->code_;
}

Powered by Google App Engine
This is Rietveld 408576698