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

Unified Diff: runtime/vm/freelist.h

Issue 10452006: Implement a heap profiler for the Dart managed heap. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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: runtime/vm/freelist.h
diff --git a/runtime/vm/freelist.h b/runtime/vm/freelist.h
index 64f0574811c49ee13cbf2235338349c61d2ebc13..f1ac7db2c836f418b8f843950bea1e59c6f9b5ff 100644
--- a/runtime/vm/freelist.h
+++ b/runtime/vm/freelist.h
@@ -42,7 +42,7 @@ class FreeListElement {
static FreeListElement* AsElement(uword addr, intptr_t size);
- static bool IsSpecialClass(RawObject* raw_obj) {
+ static bool IsSpecialClass(const RawObject* raw_obj) {
turnidge 2012/05/29 17:50:01 We don't seem to use "const RawObject*" much in ou
cshapiro 2012/06/01 04:27:02 As an aside, our only use of const_cast outside of
return (raw_obj == minimal_element_class_) || (raw_obj == element_class_);
}

Powered by Google App Engine
This is Rietveld 408576698