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

Unified Diff: vm/object.cc

Issue 9835074: Fix for issue 2233 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 9 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 | « vm/object.h ('k') | vm/raw_object_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/object.cc
===================================================================
--- vm/object.cc (revision 5801)
+++ vm/object.cc (working copy)
@@ -6923,8 +6923,8 @@
RawObject* raw = Object::Allocate(cls, Bigint::InstanceSize(length), space);
NoGCScope no_gc;
result ^= raw;
- result.raw_ptr()->allocated_length_ = length;
- result.raw_ptr()->signed_length_ = length;
+ result.raw_ptr()->allocated_length_ = length; // Chunk length allocated.
+ result.raw_ptr()->signed_length_ = length; // Chunk length in use.
}
return result.raw();
}
« no previous file with comments | « vm/object.h ('k') | vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698