| Index: vm/raw_object_snapshot.cc
|
| ===================================================================
|
| --- vm/raw_object_snapshot.cc (revision 5801)
|
| +++ 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)) {
|
|
|