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

Issue 1312393002: dart2js cps: Use 'this' instead of receiver when possible. (Closed)

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

Description

dart2js cps: Use 'this' instead of receiver-arg when possible. This fixes a bug in how intercepted super calls were handled, and enables the redundant receiver optimization. BUG= R=kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/0216e21efcb7768ddd2ba060fa3fd20c761b185a

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -70 lines) Patch
M pkg/compiler/lib/src/cps_ir/type_propagation.dart View 1 5 chunks +53 lines, -4 lines 2 comments Download
M pkg/compiler/lib/src/js_backend/codegen/glue.dart View 2 chunks +8 lines, -0 lines 1 comment Download
M pkg/compiler/lib/src/js_backend/codegen/unsugar.dart View 1 5 chunks +28 lines, -29 lines 0 comments Download
M pkg/pkg.status View 1 chunk +0 lines, -1 line 0 comments Download
M tests/co19/co19-dart2js.status View 1 chunk +0 lines, -27 lines 0 comments Download
M tests/compiler/dart2js_native/dart2js_native.status View 1 chunk +0 lines, -2 lines 0 comments Download
M tests/corelib/corelib.status View 1 chunk +0 lines, -4 lines 0 comments Download
M tests/lib/lib.status View 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
asgerf
5 years, 3 months ago (2015-08-26 10:16:36 UTC) #2
Kevin Millikin (Google)
LGTM.
5 years, 3 months ago (2015-08-26 10:26:22 UTC) #3
asgerf
Committed patchset #2 (id:20001) manually as 0216e21efcb7768ddd2ba060fa3fd20c761b185a (presubmit successful).
5 years, 3 months ago (2015-08-26 14:06:46 UTC) #4
sra1
DBC https://codereview.chromium.org/1312393002/diff/20001/pkg/compiler/lib/src/cps_ir/type_propagation.dart File pkg/compiler/lib/src/cps_ir/type_propagation.dart (right): https://codereview.chromium.org/1312393002/diff/20001/pkg/compiler/lib/src/cps_ir/type_propagation.dart#newcode1611 pkg/compiler/lib/src/cps_ir/type_propagation.dart:1611: // argument because BoundClosure uses it for equality ...
5 years, 3 months ago (2015-08-26 15:04:43 UTC) #6
floitsch
On 2015/08/26 15:04:43, sra1 wrote: > DBC > > https://codereview.chromium.org/1312393002/diff/20001/pkg/compiler/lib/src/cps_ir/type_propagation.dart > File pkg/compiler/lib/src/cps_ir/type_propagation.dart (right): > ...
5 years, 3 months ago (2015-09-10 16:11:18 UTC) #7
asgerf
On 2015/09/10 16:11:18, floitsch wrote: > On 2015/08/26 15:04:43, sra1 wrote: > > DBC > ...
5 years, 3 months ago (2015-09-11 10:24:52 UTC) #8
asgerf
5 years, 3 months ago (2015-09-11 10:27:44 UTC) #9
Message was sent while issue was closed.
Sorry, this CL was actually never reverted, but I added Stephen's comments in
this CL:

https://codereview.chromium.org/1317903002/

That CL was then reverted because of the synthetic constant.

Powered by Google App Engine
This is Rietveld 408576698