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

Issue 1307303004: dart2js cps: Inline single-use local closures (Closed)

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

Description

Inline single-use local closures. Inlining is restricted to cases that generate opportunities for scalar replacement of aggregates. R=asgerf@google.com Committed: https://github.com/dart-lang/sdk/commit/0dafa33f82e47a4d35901d0e0920fb976fc3fdde

Patch Set 1 : #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -1 line) Patch
M pkg/compiler/lib/src/cps_ir/type_propagation.dart View 1 2 3 5 chunks +91 lines, -1 line 0 comments Download

Messages

Total messages: 9 (4 generated)
sra1
5 years, 3 months ago (2015-08-28 16:59:52 UTC) #4
asgerf
DBC https://codereview.chromium.org/1307303004/diff/60001/pkg/compiler/lib/src/cps_ir/type_propagation.dart File pkg/compiler/lib/src/cps_ir/type_propagation.dart (right): https://codereview.chromium.org/1307303004/diff/60001/pkg/compiler/lib/src/cps_ir/type_propagation.dart#newcode1593 pkg/compiler/lib/src/cps_ir/type_propagation.dart:1593: ClosureClassElement closureClassElement = receiver.classElement; Looks like a checked-mode ...
5 years, 3 months ago (2015-08-31 09:17:02 UTC) #6
sra1
https://codereview.chromium.org/1307303004/diff/60001/pkg/compiler/lib/src/cps_ir/type_propagation.dart File pkg/compiler/lib/src/cps_ir/type_propagation.dart (right): https://codereview.chromium.org/1307303004/diff/60001/pkg/compiler/lib/src/cps_ir/type_propagation.dart#newcode1593 pkg/compiler/lib/src/cps_ir/type_propagation.dart:1593: ClosureClassElement closureClassElement = receiver.classElement; On 2015/08/31 09:17:01, asgerf wrote: ...
5 years, 3 months ago (2015-08-31 16:29:06 UTC) #7
asgerf
Also LGTM
5 years, 3 months ago (2015-08-31 17:25:14 UTC) #8
sra1
5 years, 3 months ago (2015-09-02 00:29:01 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:100001) manually as
0dafa33f82e47a4d35901d0e0920fb976fc3fdde (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698