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

Issue 321593004: Refactor RangeBoundary +/- infinity to be distinct RangeBoundary kinds. (Closed)

Created:
6 years, 6 months ago by Cutch
Modified:
6 years, 6 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

- Refactor RangeBoundary +/- infinity to be distinct RangeBoundary kinds. - Add tests for RangeBoundary infinities. R=vegorov@google.com Committed: https://code.google.com/p/dart/source/detail?r=37124

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -79 lines) Patch
M runtime/vm/il_printer.cc View 1 chunk +9 lines, -9 lines 0 comments Download
M runtime/vm/intermediate_language.h View 4 chunks +42 lines, -24 lines 1 comment Download
M runtime/vm/intermediate_language.cc View 1 12 chunks +95 lines, -25 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 4 chunks +4 lines, -5 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 4 chunks +4 lines, -5 lines 0 comments Download
M runtime/vm/intermediate_language_test.cc View 1 chunk +63 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 4 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Cutch
6 years, 6 months ago (2014-06-06 22:21:52 UTC) #1
Vyacheslav Egorov (Google)
lgtm
6 years, 6 months ago (2014-06-08 06:58:22 UTC) #2
Vyacheslav Egorov (Google)
One more comment (for the future, not for this CL) https://codereview.chromium.org/321593004/diff/1/runtime/vm/intermediate_language_test.cc File runtime/vm/intermediate_language_test.cc (right): https://codereview.chromium.org/321593004/diff/1/runtime/vm/intermediate_language_test.cc#newcode68 ...
6 years, 6 months ago (2014-06-09 07:43:16 UTC) #3
Cutch
Committed patchset #2 manually as r37124 (presubmit successful).
6 years, 6 months ago (2014-06-09 17:58:38 UTC) #4
Florian Schneider
6 years, 6 months ago (2014-06-10 10:43:20 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/321593004/diff/20001/runtime/vm/intermediate_...
File runtime/vm/intermediate_language.h (right):

https://codereview.chromium.org/321593004/diff/20001/runtime/vm/intermediate_...
runtime/vm/intermediate_language.h:2645: bool IsPositive() const;
I find IsPositive and IsNegative more confusing than explicitly using IsWithin,
and Overlaps:

IsPositive does not imply !IsNegative, and vice versa. There was a bug because
of that.

Powered by Google App Engine
This is Rietveld 408576698