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

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: 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 482d27270a85d33a71e37e64abac47c134025dd6..9dd77e940710c3a85740751c7b4d684c47328bc9 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2801,7 +2801,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