| Index: runtime/vm/parser.cc
|
| ===================================================================
|
| --- runtime/vm/parser.cc (revision 25633)
|
| +++ runtime/vm/parser.cc (working copy)
|
| @@ -378,8 +378,8 @@
|
| RawInteger* ri = Integer::RawCast(literal_token_.value());
|
| if (FLAG_throw_on_javascript_int_overflow) {
|
| const Integer& i = Integer::Handle(ri);
|
| - if (i.CheckFiftyThreeBitOverflow()) {
|
| - ErrorMsg(TokenPos(), "Integer literal does not fit in 53 bits: %s.",
|
| + if (i.CheckFiftyFourBitOverflow()) {
|
| + ErrorMsg(TokenPos(), "Integer literal does not fit in 54 bits: %s.",
|
| i.ToCString());
|
| }
|
| }
|
|
|