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

Unified Diff: vm/freelist.h

Issue 8898034: - Implement the old sweeper. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 years 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
« no previous file with comments | « tests/vm/vm.status ('k') | vm/gc_marker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/freelist.h
===================================================================
--- vm/freelist.h (revision 2478)
+++ vm/freelist.h (working copy)
@@ -33,6 +33,10 @@
static FreeListElement* AsElement(uword addr, intptr_t size);
+ static bool IsSpecialClass(RawObject* raw_obj) {
+ return (raw_obj == minimal_element_class_) || (raw_obj == element_class_);
+ }
+
static void InitOnce();
private:
« no previous file with comments | « tests/vm/vm.status ('k') | vm/gc_marker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698