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

Unified Diff: runtime/vm/scavenger.h

Issue 259483002: Zero-sized new-space for VM isolate. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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/scavenger.h
===================================================================
--- runtime/vm/scavenger.h (revision 35339)
+++ runtime/vm/scavenger.h (working copy)
@@ -79,7 +79,7 @@
return (top_ - FirstObjectStart()) >> kWordSizeLog2;
}
intptr_t CapacityInWords() const {
- return (end_ - FirstObjectStart()) >> kWordSizeLog2;
+ return to_->size() >> kWordSizeLog2;
}
intptr_t ExternalInWords() const {
return external_size_ >> kWordSizeLog2;

Powered by Google App Engine
This is Rietveld 408576698