Chromium Code Reviews| Index: runtime/vm/bigint_operations.cc |
| =================================================================== |
| --- runtime/vm/bigint_operations.cc (revision 22813) |
| +++ runtime/vm/bigint_operations.cc (working copy) |
| @@ -664,6 +664,9 @@ |
| int64_t BigintOperations::ToMint(const Bigint& bigint) { |
| + if (bigint.IsZero()) { |
| + return 0; |
| + } |
| ASSERT(FitsIntoMint(bigint)); |
| int64_t value = AbsToUint64(bigint); |
| if (bigint.IsNegative()) { |