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

Issue 10986085: Deal with more conditional expressions in the value range analyzer. (Closed)

Created:
8 years, 2 months ago by ngeoffray
Modified:
8 years, 2 months ago
Reviewers:
Søren Gjesse
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Deal with more conditional expressions in the value range analyzer. Committed: https://code.google.com/p/dart/source/detail?r=13213

Patch Set 1 : #

Total comments: 9

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -32 lines) Patch
M lib/compiler/implementation/constant_system_dart.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M lib/compiler/implementation/ssa/value_range_analyzer.dart View 1 2 4 chunks +124 lines, -30 lines 0 comments Download
M tests/compiler/dart2js/value_range_test.dart View 1 2 1 chunk +68 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
ngeoffray
8 years, 2 months ago (2012-09-28 14:55:55 UTC) #1
Søren Gjesse
LGTM with a few comments. http://codereview.chromium.org/10986085/diff/6001/lib/compiler/implementation/constant_system_dart.dart File lib/compiler/implementation/constant_system_dart.dart (right): http://codereview.chromium.org/10986085/diff/6001/lib/compiler/implementation/constant_system_dart.dart#newcode283 lib/compiler/implementation/constant_system_dart.dart:283: apply(left, right) => left ...
8 years, 2 months ago (2012-10-02 08:07:20 UTC) #2
ngeoffray
Thanks Soren http://codereview.chromium.org/10986085/diff/6001/lib/compiler/implementation/ssa/value_range_analyzer.dart File lib/compiler/implementation/ssa/value_range_analyzer.dart (right): http://codereview.chromium.org/10986085/diff/6001/lib/compiler/implementation/ssa/value_range_analyzer.dart#newcode625 lib/compiler/implementation/ssa/value_range_analyzer.dart:625: Range range = computeNewRange(operation, rightRange); On 2012/10/02 ...
8 years, 2 months ago (2012-10-02 16:03:09 UTC) #3
Søren Gjesse
http://codereview.chromium.org/10986085/diff/6001/lib/compiler/implementation/ssa/value_range_analyzer.dart File lib/compiler/implementation/ssa/value_range_analyzer.dart (right): http://codereview.chromium.org/10986085/diff/6001/lib/compiler/implementation/ssa/value_range_analyzer.dart#newcode625 lib/compiler/implementation/ssa/value_range_analyzer.dart:625: Range range = computeNewRange(operation, rightRange); On 2012/10/02 16:03:09, ngeoffray ...
8 years, 2 months ago (2012-10-02 16:26:56 UTC) #4
ngeoffray
Thanks Soren, I also updated the code that updates trueBranch/falseBranch to update only if the ...
8 years, 2 months ago (2012-10-04 08:51:07 UTC) #5
Søren Gjesse
8 years, 2 months ago (2012-10-04 10:09:38 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698