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

Unified Diff: vm/raw_object_snapshot.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
Index: vm/raw_object_snapshot.cc
===================================================================
--- vm/raw_object_snapshot.cc (revision 5763)
+++ vm/raw_object_snapshot.cc (working copy)
@@ -1229,8 +1229,10 @@
}
// Create a Bigint object from HexCString.
- Bigint& obj = Bigint::ZoneHandle(reader->isolate(),
- BigintOperations::FromHexCString(str));
+ Bigint& obj = Bigint::ZoneHandle(
+ reader->isolate(),
+ (kind == Snapshot::kFull) ? reader->NewBigint(str) :
+ BigintOperations::FromHexCString(str));
// If it is a canonical constant make it one.
if ((kind != Snapshot::kFull) && RawObject::IsCanonical(tags)) {

Powered by Google App Engine
This is Rietveld 408576698