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

Issue 23504003: Do not do global optimizations on fields and parameters when invokeOn is enabled. (Closed)

Created:
7 years, 3 months ago by ngeoffray
Modified:
7 years, 3 months ago
Reviewers:
Johnni Winther, ahe
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Do not do global optimizations on fields and parameters when invokeOn is enabled. R=ahe@google.com, johnniwinther@google.com Committed: https://code.google.com/p/dart/source/detail?r=27026

Patch Set 1 : #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -14 lines) Patch
M sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart View 1 2 3 4 6 chunks +20 lines, -10 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/emitter_no_eval.dart View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/lib/js_helper.dart View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M sdk/lib/_internal/lib/js_mirrors.dart View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
A tests/compiler/dart2js_extra/inference_nsm_mirrors_test.dart View 1 1 chunk +26 lines, -0 lines 0 comments Download
A tests/compiler/dart2js_extra/no_such_method_mirrors_test.dart View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download
A tests/lib/mirrors/inference_and_no_such_method_test.dart View 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ngeoffray
7 years, 3 months ago (2013-09-02 08:13:47 UTC) #1
ngeoffray
PTAL, I added a check whether @MirrorsUsed is there. If it is, then we don't ...
7 years, 3 months ago (2013-09-02 09:08:01 UTC) #2
ahe
Try this. https://codereview.chromium.org/23504003/diff/6001/sdk/lib/_internal/lib/js_helper.dart File sdk/lib/_internal/lib/js_helper.dart (right): https://codereview.chromium.org/23504003/diff/6001/sdk/lib/_internal/lib/js_helper.dart#newcode178 sdk/lib/_internal/lib/js_helper.dart:178: if (JS('bool', '!#[#]', method, JS_GET_NAME("REFLECTABLE"))) { String ...
7 years, 3 months ago (2013-09-02 09:46:48 UTC) #3
ngeoffray
PTAL https://codereview.chromium.org/23504003/diff/6001/sdk/lib/_internal/lib/js_helper.dart File sdk/lib/_internal/lib/js_helper.dart (right): https://codereview.chromium.org/23504003/diff/6001/sdk/lib/_internal/lib/js_helper.dart#newcode178 sdk/lib/_internal/lib/js_helper.dart:178: if (JS('bool', '!#[#]', method, JS_GET_NAME("REFLECTABLE"))) { On 2013/09/02 ...
7 years, 3 months ago (2013-09-02 09:54:08 UTC) #4
Johnni Winther
lgtm
7 years, 3 months ago (2013-09-02 10:10:55 UTC) #5
ngeoffray
PTAL. I fixed https://code.google.com/p/dart/issues/detail?id=12980 with the latest patchset.
7 years, 3 months ago (2013-09-02 13:20:05 UTC) #6
ahe
LGTM!
7 years, 3 months ago (2013-09-03 06:21:09 UTC) #7
ahe
Don't forget to test CSP mode.
7 years, 3 months ago (2013-09-03 06:22:16 UTC) #8
ngeoffray
Committed patchset #5 manually as r27026 (presubmit successful).
7 years, 3 months ago (2013-09-03 07:50:51 UTC) #9
ngeoffray
7 years, 3 months ago (2013-09-03 07:50:59 UTC) #10
Message was sent while issue was closed.
On 2013/09/03 06:22:16, ahe wrote:
> Don't forget to test CSP mode.

Done. Thanks Peter and Johnni.

Powered by Google App Engine
This is Rietveld 408576698