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

Issue 1181063005: Fix for issue 23432 - Get the correct receiver in noSuchMethod stubs. (Closed)

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

Description

Fix for issue 23432. Get the correct receiver in noSuchMethod stubs. noSuchMethod stubs for selectors with Interceptor calling convention should pass the receiver to noSuchMethod (not 'this'). The actual receiver is selected by Object.noSuchMethod and Interceptor.noSuchMethod. R=floitsch@google.com Committed: https://github.com/dart-lang/sdk/commit/c8d7cd8ef46de11f5e4e7c757bb9ee2f12cb8cd6 Reverted: https://github.com/dart-lang/sdk/commit/21a322fd9969260a22034a372df8b62e9ca20456 Committed: https://github.com/dart-lang/sdk/commit/afe5b32e48b56afb9b1eebc705830491acb4640a

Patch Set 1 : #

Total comments: 11

Patch Set 2 : #

Patch Set 3 : base for fix #

Patch Set 4 : fix bad merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -28 lines) Patch
M pkg/compiler/lib/src/js_emitter/class_stub_generator.dart View 2 chunks +5 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart View 1 2 chunks +40 lines, -22 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/interceptors.dart View 1 2 chunks +16 lines, -2 lines 0 comments Download
M tests/compiler/dart2js_extra/dart2js_extra.status View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 13 (4 generated)
sra1
5 years, 6 months ago (2015-06-19 04:11:17 UTC) #5
Siggi Cherem (dart-lang)
https://codereview.chromium.org/1181063005/diff/60001/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart File pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart (right): https://codereview.chromium.org/1181063005/diff/60001/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart#newcode324 pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart:324: Array.prototype.slice.call(arguments), woudln't this return []? do we need splice ...
5 years, 6 months ago (2015-06-19 18:33:22 UTC) #6
sra1
https://codereview.chromium.org/1181063005/diff/60001/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart File pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart (right): https://codereview.chromium.org/1181063005/diff/60001/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart#newcode324 pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart:324: Array.prototype.slice.call(arguments), On 2015/06/19 18:33:22, Siggi Cherem (dart-lang) wrote: > ...
5 years, 6 months ago (2015-06-19 18:59:38 UTC) #7
Siggi Cherem (dart-lang)
https://codereview.chromium.org/1181063005/diff/60001/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart File pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart (right): https://codereview.chromium.org/1181063005/diff/60001/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart#newcode324 pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart:324: Array.prototype.slice.call(arguments), On 2015/06/19 18:59:38, sra1 wrote: > On 2015/06/19 ...
5 years, 6 months ago (2015-06-19 19:46:00 UTC) #8
floitsch
LGTM. Please change the title of the CL. https://codereview.chromium.org/1181063005/diff/60001/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart File pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart (right): https://codereview.chromium.org/1181063005/diff/60001/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart#newcode281 pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart:281: dynamic ...
5 years, 6 months ago (2015-06-19 21:22:15 UTC) #9
sra1
Committed patchset #2 (id:80001) manually as c8d7cd8ef46de11f5e4e7c757bb9ee2f12cb8cd6 (presubmit successful).
5 years, 6 months ago (2015-06-22 20:16:21 UTC) #10
sra1
https://chromiumcodereview.appspot.com/1181063005/diff/60001/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart File pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart (right): https://chromiumcodereview.appspot.com/1181063005/diff/60001/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart#newcode281 pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart:281: dynamic isIntercepted = // jsAst.Expression or bool. On 2015/06/19 ...
5 years, 6 months ago (2015-06-22 20:17:00 UTC) #11
Siggi Cherem (dart-lang)
https://chromiumcodereview.appspot.com/1181063005/diff/60001/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart File pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart (right): https://chromiumcodereview.appspot.com/1181063005/diff/60001/pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart#newcode324 pkg/compiler/lib/src/js_emitter/old_emitter/nsm_emitter.dart:324: Array.prototype.slice.call(arguments), On 2015/06/22 20:17:00, sra1 wrote: > On 2015/06/19 ...
5 years, 6 months ago (2015-06-22 20:37:32 UTC) #12
sra1
5 years, 6 months ago (2015-06-23 00:02:32 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:120001) manually as
afe5b32e48b56afb9b1eebc705830491acb4640a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698