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

Issue 12330135: Make instance methods whose names collide with intercepted methods have the interceptor calling con… (Closed)

Created:
7 years, 9 months ago by ngeoffray
Modified:
7 years, 9 months ago
Reviewers:
sra1, kasperl
CC:
reviews_dartlang.org, sra1
Visibility:
Public.

Description

Make instance methods whose names collide with intercepted methods have the interceptor calling convention (that is take the receiver as the first argument). Committed: https://code.google.com/p/dart/source/detail?r=19310

Patch Set 1 : #

Patch Set 2 : #

Total comments: 11

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -201 lines) Patch
M sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 1 2 3 4 5 9 chunks +35 lines, -55 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart View 1 2 3 4 5 24 chunks +87 lines, -81 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/native_emitter.dart View 1 2 3 4 5 6 2 chunks +6 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/lib/interceptors.dart View 1 2 3 4 5 2 chunks +7 lines, -8 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/lib/js_helper.dart View 1 2 3 4 5 3 chunks +8 lines, -8 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 1 2 3 4 5 10 chunks +47 lines, -22 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/nodes.dart View 1 2 3 4 5 2 chunks +15 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/optimize.dart View 1 2 3 4 5 5 chunks +19 lines, -25 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ngeoffray
7 years, 9 months ago (2013-02-26 12:13:19 UTC) #1
sra1
It would be cool if the unused receiver parameters were renamed to '_'. https://codereview.chromium.org/12330135/diff/2002/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart File ...
7 years, 9 months ago (2013-02-27 05:13:28 UTC) #2
ngeoffray
Thanks Stephen. PTAL. https://codereview.chromium.org/12330135/diff/2002/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart File sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (right): https://codereview.chromium.org/12330135/diff/2002/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart#newcode788 sdk/lib/_internal/compiler/implementation/js_backend/backend.dart:788: * [name[. Returns [:null:] if there ...
7 years, 9 months ago (2013-02-28 10:39:42 UTC) #3
sra1
lgtm I'd like to make progress on top of this CL
7 years, 9 months ago (2013-02-28 23:37:57 UTC) #4
kasperl
Given Stephen's review, I didn't review this too carefully but the general idea and implementation ...
7 years, 9 months ago (2013-03-01 09:06:47 UTC) #5
ngeoffray
Thanks Kasper and Stephen. https://codereview.chromium.org/12330135/diff/10001/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart File sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (right): https://codereview.chromium.org/12330135/diff/10001/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart#newcode802 sdk/lib/_internal/compiler/implementation/js_backend/backend.dart:802: interceptedClassesCache[name] = result; On 2013/03/01 ...
7 years, 9 months ago (2013-03-01 10:46:56 UTC) #6
ngeoffray
7 years, 9 months ago (2013-03-01 13:28:26 UTC) #7
Message was sent while issue was closed.
Committed patchset #7 manually as r19310 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698