Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Issue 16664003: Improvements to 53-bit overflow checking. (Closed)

Created:
7 years, 6 months ago by zra
Modified:
7 years, 6 months ago
Reviewers:
srdjan, Ivan Posva
CC:
reviews_dartlang.org, Florian Schneider
Visibility:
Public.

Description

Improvements to 53-bit overflow checking. - Integer literals that require more than 53 bits will cause a compile-time error. - Checking is added to unary negate for the case that the most negative 53-bit integer is negated. - The tests are improved to also check optimized code. R=srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=23774

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -42 lines) Patch
M runtime/vm/intermediate_language_x64.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/object.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 4 chunks +27 lines, -19 lines 0 comments Download
M runtime/vm/parser.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/parser.cc View 3 chunks +11 lines, -2 lines 0 comments Download
A tests/standalone/53bit_overflow_literal_test.dart View 1 chunk +18 lines, -0 lines 0 comments Download
M tests/standalone/53bit_overflow_test.dart View 1 chunk +88 lines, -20 lines 0 comments Download
M tests/standalone/standalone.status View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
zra
7 years, 6 months ago (2013-06-07 20:42:52 UTC) #1
srdjan
LGTM https://codereview.chromium.org/16664003/diff/6002/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/16664003/diff/6002/runtime/vm/object.cc#newcode10505 runtime/vm/object.cc:10505: // Returns true if the signed Integer i ...
7 years, 6 months ago (2013-06-07 21:03:42 UTC) #2
zra
Thanks! https://codereview.chromium.org/16664003/diff/6002/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/16664003/diff/6002/runtime/vm/object.cc#newcode10505 runtime/vm/object.cc:10505: // Returns true if the signed Integer i ...
7 years, 6 months ago (2013-06-07 21:28:27 UTC) #3
zra
7 years, 6 months ago (2013-06-07 21:28:55 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 manually as r23774 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698