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

Unified Diff: vm/heap_profiler.cc

Issue 11421117: Fix for issue 6359 - Make snapshots platform independent. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 1 month 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 | « no previous file | vm/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/heap_profiler.cc
===================================================================
--- vm/heap_profiler.cc (revision 15534)
+++ vm/heap_profiler.cc (working copy)
@@ -513,7 +513,7 @@
}
// instance size (in bytes)
// TODO(cshapiro): properly account for variable sized objects
- sub.Write32(raw_class->ptr()->instance_size_);
+ sub.Write32(raw_class->ptr()->instance_size_in_words_);
// size of constant pool and number of records that follow:
sub.Write16(0);
// Number of static fields
« no previous file with comments | « no previous file | vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698