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

Issue 2430683003: Property extraction getters (tear-offs) are effect-free (Closed)

Created:
4 years, 2 months ago by sra1
Modified:
4 years, 2 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Property extraction getters (tear-offs) are effect-free This mostly allows better scheduling of the surrounding instructions. R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/5a646b782736189e105c32a50c364a9431afe8c8

Patch Set 1 #

Patch Set 2 : guard codegen #

Patch Set 3 : avoid hits to noSuchMethod #

Patch Set 4 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -8 lines) Patch
M pkg/compiler/lib/src/ssa/codegen.dart View 1 1 chunk +7 lines, -5 lines 2 comments Download
M pkg/compiler/lib/src/ssa/nodes.dart View 1 chunk +4 lines, -0 lines 2 comments Download
M pkg/compiler/lib/src/ssa/optimize.dart View 1 2 3 2 chunks +18 lines, -3 lines 3 comments Download

Messages

Total messages: 8 (3 generated)
sra1
Example: _ForwardingStreamSubscription$5: function(_stream, onData, onError, onDone, cancelOnError, $S, $T) { var t1, t2; t1 = ...
4 years, 2 months ago (2016-10-18 23:18:22 UTC) #3
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2430683003/diff/80001/pkg/compiler/lib/src/ssa/nodes.dart File pkg/compiler/lib/src/ssa/nodes.dart (right): https://codereview.chromium.org/2430683003/diff/80001/pkg/compiler/lib/src/ssa/nodes.dart#newcode1633 pkg/compiler/lib/src/ssa/nodes.dart:1633: bool canThrow() => isTearOff ? inputs.last.canBeNull() : super.canThrow(); ...
4 years, 2 months ago (2016-10-18 23:26:02 UTC) #4
sra1
https://codereview.chromium.org/2430683003/diff/80001/pkg/compiler/lib/src/ssa/nodes.dart File pkg/compiler/lib/src/ssa/nodes.dart (right): https://codereview.chromium.org/2430683003/diff/80001/pkg/compiler/lib/src/ssa/nodes.dart#newcode1633 pkg/compiler/lib/src/ssa/nodes.dart:1633: bool canThrow() => isTearOff ? inputs.last.canBeNull() : super.canThrow(); On ...
4 years, 2 months ago (2016-10-19 02:16:57 UTC) #5
sra1
Committed patchset #4 (id:80001) manually as 5a646b782736189e105c32a50c364a9431afe8c8 (presubmit successful).
4 years, 2 months ago (2016-10-19 03:13:37 UTC) #7
Johnni Winther
4 years, 2 months ago (2016-10-19 12:04:50 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/2430683003/diff/80001/pkg/compiler/lib/src/ss...
File pkg/compiler/lib/src/ssa/codegen.dart (right):

https://codereview.chromium.org/2430683003/diff/80001/pkg/compiler/lib/src/ss...
pkg/compiler/lib/src/ssa/codegen.dart:1727: // represents two targets - a
tearoff getter and the torn-off method.
On 2016/10/18 23:18:22, sra1 wrote:
> johnni: is this the right way to handle this?

Yes.

Powered by Google App Engine
This is Rietveld 408576698