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

Issue 1335933004: dart2js cps: Set a flag on InvokeMethod when the receiver is intercepted (Closed)

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

Description

dart2js cps: Set a flag on InvokeMethod when the receiver is intercepted This should make it clear where the "actual receiver" of a method call can be found after dummy receiver optimization. BUG= R=karlklose@google.com, sra@google.com Committed: https://github.com/dart-lang/sdk/commit/e48d774006d156038223c1ce2f0149743a389419

Patch Set 1 #

Total comments: 4

Patch Set 2 : Also use getDartReceiver, getDartArgument in constant folding #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -10 lines) Patch
M pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart View 1 chunk +11 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/type_propagation.dart View 1 7 chunks +28 lines, -10 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/codegen/unsugar.dart View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
asgerf
5 years, 3 months ago (2015-09-11 11:53:10 UTC) #2
asgerf
On 2015/09/11 11:53:10, asgerf wrote: This is sort of a follow-up on the synthetic dummy ...
5 years, 3 months ago (2015-09-11 12:05:03 UTC) #3
karlklose
LGTM.
5 years, 3 months ago (2015-09-11 12:09:53 UTC) #4
sra1
On 2015/09/11 12:05:03, asgerf wrote: > On 2015/09/11 11:53:10, asgerf wrote: > > This is ...
5 years, 3 months ago (2015-09-11 15:10:48 UTC) #5
sra1
LGTM. In SSA this is handled by a predicate on the structure of the inputs. ...
5 years, 3 months ago (2015-09-11 15:28:54 UTC) #6
asgerf
> > The problem with the dummy constant is that we can get a constant ...
5 years, 3 months ago (2015-09-11 15:38:07 UTC) #7
asgerf
https://codereview.chromium.org/1335933004/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/1335933004/diff/1/pkg/compiler/lib/src/cps_ir/type_propagation.dart#newcode796 pkg/compiler/lib/src/cps_ir/type_propagation.dart:796: Primitive getDartReceiver(InvokeMethod node) { On 2015/09/11 15:28:54, sra1 wrote: ...
5 years, 3 months ago (2015-09-14 09:32:15 UTC) #8
asgerf
5 years, 3 months ago (2015-09-15 10:13:11 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
e48d774006d156038223c1ce2f0149743a389419 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698