Chromium Code Reviews| Index: runtime/lib/double.cc |
| =================================================================== |
| --- runtime/lib/double.cc (revision 22802) |
| +++ runtime/lib/double.cc (working copy) |
| @@ -83,7 +83,7 @@ |
| if (BigintOperations::FitsIntoSmi(big)) { |
| return BigintOperations::ToSmi(big); |
|
siva
2013/05/16 19:52:50
Do we still need this check?
We could just do:
If
srdjan
2013/05/16 20:03:31
Done.
|
| } else if (BigintOperations::FitsIntoMint(big)) { |
| - return Mint::New(BigintOperations::ToMint(big)); |
| + return Integer::New(BigintOperations::ToMint(big)); |
| } else { |
| return big.raw(); |
| } |