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

Issue 1376603003: dart2js: improve ssa utilization of bool value types (Closed)

Created:
5 years, 2 months ago by Harry Terkelsen
Modified:
5 years, 2 months ago
Reviewers:
sra1
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 11

Patch Set 4 : #

Patch Set 5 : fix issue with parameter values being assigned #

Total comments: 8

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -24 lines) Patch
M pkg/compiler/lib/src/cps_ir/type_mask_system.dart View 1 chunk +1 line, -4 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/type_graph_nodes.dart View 3 chunks +6 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/ssa/optimize.dart View 1 2 3 4 5 5 chunks +38 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/types/types.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/types/value_type_mask.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/mock_libraries.dart View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M tests/compiler/dart2js/source_mapping_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/type_inference8_test.dart View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 10 (1 generated)
Harry Terkelsen
5 years, 2 months ago (2015-09-29 23:48:28 UTC) #2
Harry Terkelsen
when I ran the numbers last night: hello_world size before: 1538427 hello_world size after: 1438782 ...
5 years, 2 months ago (2015-09-30 16:30:55 UTC) #3
sra1
lgtm with tweaks https://chromiumcodereview.appspot.com/1376603003/diff/40001/pkg/compiler/lib/src/ssa/optimize.dart File pkg/compiler/lib/src/ssa/optimize.dart (right): https://chromiumcodereview.appspot.com/1376603003/diff/40001/pkg/compiler/lib/src/ssa/optimize.dart#newcode209 pkg/compiler/lib/src/ssa/optimize.dart:209: users.forEach((HInstruction user) { maybe just write: ...
5 years, 2 months ago (2015-09-30 16:49:40 UTC) #4
Harry Terkelsen
Committed patchset #4 (id:60001) manually as 0b6ad019446096b7ecd6f0bdb80af9fb5cf16bc7 (presubmit successful).
5 years, 2 months ago (2015-09-30 18:37:48 UTC) #5
Harry Terkelsen
https://codereview.chromium.org/1376603003/diff/40001/pkg/compiler/lib/src/ssa/optimize.dart File pkg/compiler/lib/src/ssa/optimize.dart (right): https://codereview.chromium.org/1376603003/diff/40001/pkg/compiler/lib/src/ssa/optimize.dart#newcode209 pkg/compiler/lib/src/ssa/optimize.dart:209: users.forEach((HInstruction user) { On 2015/09/30 16:49:39, sra1 wrote: > ...
5 years, 2 months ago (2015-09-30 18:39:26 UTC) #6
Harry Terkelsen
this was broken because of parameters being assigned: foo(x) { x = "abc"; print(x.length); } ...
5 years, 2 months ago (2015-09-30 23:54:44 UTC) #7
sra1
lgtm https://chromiumcodereview.appspot.com/1376603003/diff/80001/pkg/compiler/lib/src/ssa/optimize.dart File pkg/compiler/lib/src/ssa/optimize.dart (right): https://chromiumcodereview.appspot.com/1376603003/diff/80001/pkg/compiler/lib/src/ssa/optimize.dart#newcode214 pkg/compiler/lib/src/ssa/optimize.dart:214: void propagateConstantValueToUses(HInstruction known) { Maybe call it 'node'. ...
5 years, 2 months ago (2015-10-01 01:48:00 UTC) #8
Harry Terkelsen
https://chromiumcodereview.appspot.com/1376603003/diff/80001/pkg/compiler/lib/src/ssa/optimize.dart File pkg/compiler/lib/src/ssa/optimize.dart (right): https://chromiumcodereview.appspot.com/1376603003/diff/80001/pkg/compiler/lib/src/ssa/optimize.dart#newcode214 pkg/compiler/lib/src/ssa/optimize.dart:214: void propagateConstantValueToUses(HInstruction known) { On 2015/10/01 01:48:00, sra1 wrote: ...
5 years, 2 months ago (2015-10-01 21:06:36 UTC) #9
Harry Terkelsen
5 years, 2 months ago (2015-10-01 21:08:22 UTC) #10
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
28a803d3435c6565227ad31cb5db6cbe2173ca25 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698