| Index: runtime/vm/snapshot.cc
|
| diff --git a/runtime/vm/snapshot.cc b/runtime/vm/snapshot.cc
|
| index 513ac253b794da972742f1a58c0bfdf32f714d84..28cf4b5ec4328f3c3b380775d089909c06a05d07 100644
|
| --- a/runtime/vm/snapshot.cc
|
| +++ b/runtime/vm/snapshot.cc
|
| @@ -1749,19 +1749,6 @@ bool SnapshotWriter::CheckAndWritePredefinedObject(RawObject* rawobj) {
|
| return true;
|
| }
|
|
|
| - // Check if the object is a Mint and could potentially be a Smi
|
| - // on other architectures (64 bit), if so write it out as int64_t value.
|
| - if (cid == kMintCid) {
|
| - int64_t value = reinterpret_cast<RawMint*>(rawobj)->ptr()->value_;
|
| - const intptr_t kSmi64Bits = 62;
|
| - const int64_t kSmi64Max = (static_cast<int64_t>(1) << kSmi64Bits) - 1;
|
| - const int64_t kSmi64Min = -(static_cast<int64_t>(1) << kSmi64Bits);
|
| - if (value <= kSmi64Max && value >= kSmi64Min) {
|
| - Write<int64_t>((value << kSmiTagShift) | kSmiTag);
|
| - return true;
|
| - }
|
| - }
|
| -
|
| // Check if it is a code object in that case just write a Null object
|
| // as we do not want code objects in the snapshot.
|
| if (cid == kCodeCid) {
|
|
|