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

Issue 1088153002: cps-ir: Clean-ups in type propagator. (Closed)

Created:
5 years, 8 months ago by asgerf
Modified:
5 years, 8 months ago
CC:
reviews_dartlang.org, Kevin Millikin (Google)
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 8

Patch Set 2 : const -> constant #

Patch Set 3 : Missed one. nonConst -> nonConstant #

Patch Set 4 : Update test and fix some errors #

Patch Set 5 : Hash code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -97 lines) Patch
M pkg/compiler/lib/src/cps_ir/type_propagation.dart View 1 2 3 4 28 chunks +68 lines, -95 lines 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_control_flow_test.dart View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
asgerf
I wanted to play with the type propagator and stumbled across some things that seem ...
5 years, 8 months ago (2015-04-15 14:28:59 UTC) #2
Kevin Millikin (Google)
OK, LGTM. https://codereview.chromium.org/1088153002/diff/1/pkg/compiler/lib/src/cps_ir/type_propagation.dart File pkg/compiler/lib/src/cps_ir/type_propagation.dart (right): https://codereview.chromium.org/1088153002/diff/1/pkg/compiler/lib/src/cps_ir/type_propagation.dart#newcode311 pkg/compiler/lib/src/cps_ir/type_propagation.dart:311: _AbstractValue<T> nonConst([T type]) { This should probably ...
5 years, 8 months ago (2015-04-15 14:51:51 UTC) #4
asgerf
https://codereview.chromium.org/1088153002/diff/1/pkg/compiler/lib/src/cps_ir/type_propagation.dart File pkg/compiler/lib/src/cps_ir/type_propagation.dart (right): https://codereview.chromium.org/1088153002/diff/1/pkg/compiler/lib/src/cps_ir/type_propagation.dart#newcode319 pkg/compiler/lib/src/cps_ir/type_propagation.dart:319: return new _AbstractValue<T>.constValue(constant, type); On 2015/04/15 14:51:51, kmillikin wrote: ...
5 years, 8 months ago (2015-04-15 15:00:53 UTC) #5
karlklose
LGTM. https://codereview.chromium.org/1088153002/diff/1/pkg/compiler/lib/src/cps_ir/type_propagation.dart File pkg/compiler/lib/src/cps_ir/type_propagation.dart (right): https://codereview.chromium.org/1088153002/diff/1/pkg/compiler/lib/src/cps_ir/type_propagation.dart#newcode871 pkg/compiler/lib/src/cps_ir/type_propagation.dart:871: return kind * 31 + constant.hashCode * 157 ...
5 years, 8 months ago (2015-04-16 06:32:08 UTC) #6
asgerf
https://codereview.chromium.org/1088153002/diff/1/pkg/compiler/lib/src/cps_ir/type_propagation.dart File pkg/compiler/lib/src/cps_ir/type_propagation.dart (right): https://codereview.chromium.org/1088153002/diff/1/pkg/compiler/lib/src/cps_ir/type_propagation.dart#newcode871 pkg/compiler/lib/src/cps_ir/type_propagation.dart:871: return kind * 31 + constant.hashCode * 157 + ...
5 years, 8 months ago (2015-04-16 07:51:17 UTC) #7
asgerf
5 years, 8 months ago (2015-04-16 08:12:11 UTC) #8
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as 45195 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698