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

Unified Diff: runtime/vm/heap.h

Issue 2117593002: Fuchsia: Initial check-in. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments Created 4 years, 6 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
« no previous file with comments | « runtime/vm/dev_fs.cc ('k') | runtime/vm/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.h
diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h
index d13150ecdd30cd8667cf8a8ffee7f191b6a2caef..f0a956e26d10661722ed38aa50d35179dc720ae4 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -244,12 +244,14 @@ class Heap {
return size <= kNewAllocatableSize;
}
+#ifndef PRODUCT
void PrintToJSONObject(Space space, JSONObject* object) const;
// The heap map contains the sizes and class ids for the objects in each page.
void PrintHeapMapToJSONStream(Isolate* isolate, JSONStream* stream) {
- return old_space_.PrintHeapMapToJSONStream(isolate, stream);
+ old_space_.PrintHeapMapToJSONStream(isolate, stream);
}
+#endif // PRODUCT
Isolate* isolate() const { return isolate_; }
« no previous file with comments | « runtime/vm/dev_fs.cc ('k') | runtime/vm/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698