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

Issue 333643004: Add range analysis for left-shift smi operations. (Closed)

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

Description

Add range analysis for left-shift smi operations. I factored some operations out into the Range and RangeBoundary class, so that they can be used from unit tests and added cc tests. R=johnmccutchan@google.com, vegorov@google.com Committed: https://code.google.com/p/dart/source/detail?r=37303

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Patch Set 4 : addressed comments, added tests #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -1 line) Patch
M runtime/vm/intermediate_language.h View 1 2 3 5 chunks +32 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 3 2 chunks +33 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_test.cc View 1 2 1 chunk +52 lines, -0 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
Florian Schneider
6 years, 6 months ago (2014-06-12 14:05:27 UTC) #1
Vyacheslav Egorov (Google)
https://codereview.chromium.org/333643004/diff/20001/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/333643004/diff/20001/runtime/vm/intermediate_language.cc#newcode3251 runtime/vm/intermediate_language.cc:3251: intptr_t right_max = Range::ConstantMax(right).value() > 0 Can be written ...
6 years, 6 months ago (2014-06-12 14:59:01 UTC) #2
Florian Schneider
https://codereview.chromium.org/333643004/diff/20001/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://codereview.chromium.org/333643004/diff/20001/runtime/vm/intermediate_language.cc#newcode3251 runtime/vm/intermediate_language.cc:3251: intptr_t right_max = Range::ConstantMax(right).value() > 0 On 2014/06/12 14:59:00, ...
6 years, 6 months ago (2014-06-12 15:12:43 UTC) #3
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/333643004/diff/60001/runtime/vm/intermediate_language_test.cc File runtime/vm/intermediate_language_test.cc (right): https://codereview.chromium.org/333643004/diff/60001/runtime/vm/intermediate_language_test.cc#newcode116 runtime/vm/intermediate_language_test.cc:116: #undef TEST_RANGE_SHL TEST_RANGE_OP
6 years, 6 months ago (2014-06-12 15:46:17 UTC) #4
Cutch
lgtm
6 years, 6 months ago (2014-06-12 21:03:52 UTC) #5
Florian Schneider
https://codereview.chromium.org/333643004/diff/60001/runtime/vm/intermediate_language_test.cc File runtime/vm/intermediate_language_test.cc (right): https://codereview.chromium.org/333643004/diff/60001/runtime/vm/intermediate_language_test.cc#newcode116 runtime/vm/intermediate_language_test.cc:116: #undef TEST_RANGE_SHL On 2014/06/12 15:46:17, Vyacheslav Egorov (Google) wrote: ...
6 years, 6 months ago (2014-06-13 07:12:21 UTC) #6
Florian Schneider
6 years, 6 months ago (2014-06-13 07:41:19 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r37303 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698