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

Unified Diff: runtime/vm/object.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: added basic test code 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/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 26e3f6470c0f38cf306ca5350b07feab36982bcb..3e464a4ec7f50a4da1cc45edf7f0cca7c00be2cd 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2811,7 +2811,7 @@ class Smi : public Integer {
static RawClass* Class();
- static intptr_t Value(RawSmi* raw_smi) {
+ static intptr_t Value(const RawSmi* raw_smi) {
return ValueFromRaw(reinterpret_cast<uword>(raw_smi));
}

Powered by Google App Engine
This is Rietveld 408576698