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

Issue 974803002: Defer addStubs to class instantiation time. (Closed)

Created:
5 years, 9 months ago by herhut
Modified:
5 years, 9 months ago
Reviewers:
floitsch, sra1
CC:
reviews_dartlang.org, ahe, zarah
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Defer addStubs to class instantiation time. BUG= R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=44458

Patch Set 1 #

Total comments: 1

Patch Set 2 : Ensure fast prototypes and avoid polymorphic access in constructor #

Total comments: 39

Patch Set 3 : Comments #

Patch Set 4 : Comments #

Patch Set 5 : rebase #

Patch Set 6 : Use JS_NAME and fix deferred loading. #

Total comments: 32

Patch Set 7 : More comments #

Patch Set 8 : Rebased and fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+273 lines, -72 lines) Patch
M pkg/compiler/lib/src/js_backend/backend.dart View 1 2 3 4 5 6 7 2 chunks +5 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/js_backend/namer.dart View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart View 1 2 3 4 5 6 7 9 chunks +64 lines, -19 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/old_emitter/reflection_data_parser.dart View 1 2 3 4 5 6 7 10 chunks +76 lines, -15 lines 0 comments Download
M pkg/compiler/lib/src/ssa/codegen_helpers.dart View 1 2 3 4 5 6 2 chunks +22 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/js_mirrors.dart View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/js_names.dart View 1 2 3 4 5 6 7 1 chunk +99 lines, -36 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/shared/embedded_names.dart View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (2 generated)
herhut
This needs some more performance tuning but is functionally complete (as in passes all tests).
5 years, 9 months ago (2015-03-03 10:37:16 UTC) #2
herhut
PTAL This now passes all the performance tests without major regressions and some improvements. So ...
5 years, 9 months ago (2015-03-05 17:46:22 UTC) #3
sra1
DBC. I can't git cl patch. What is your base revision? https://codereview.chromium.org/974803002/diff/20001/pkg/compiler/lib/src/ssa/codegen_helpers.dart File pkg/compiler/lib/src/ssa/codegen_helpers.dart (right): ...
5 years, 9 months ago (2015-03-05 18:23:26 UTC) #5
herhut
This requires a couple of other cls: https://codereview.chromium.org/946023004/ https://codereview.chromium.org/961653002/ https://codereview.chromium.org/948383003/ https://codereview.chromium.org/957343002/ https://codereview.chromium.org/963453002/ and they are ...
5 years, 9 months ago (2015-03-06 12:36:45 UTC) #6
floitsch
LGTM. why is the js_names change required in this CL? https://codereview.chromium.org/974803002/diff/1/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart File pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart (right): https://codereview.chromium.org/974803002/diff/1/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart#newcode554 ...
5 years, 9 months ago (2015-03-06 14:54:10 UTC) #7
herhut
https://chromiumcodereview.appspot.com/974803002/diff/20001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart File pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart (right): https://chromiumcodereview.appspot.com/974803002/diff/20001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart#newcode338 pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart:338: if (supportsDirectProtoAccess) On 2015/03/06 14:54:09, floitsch wrote: > Sigurd ...
5 years, 9 months ago (2015-03-09 14:28:35 UTC) #8
herhut
[+ zarah@] On 2015/03/09 14:28:35, herhut wrote: > https://chromiumcodereview.appspot.com/974803002/diff/20001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart > File pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart (right): > > ...
5 years, 9 months ago (2015-03-09 14:29:26 UTC) #9
floitsch
https://chromiumcodereview.appspot.com/974803002/diff/20001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart File pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart (right): https://chromiumcodereview.appspot.com/974803002/diff/20001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart#newcode551 pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart:551: // first instantiating them first. On 2015/03/06 14:54:09, floitsch ...
5 years, 9 months ago (2015-03-09 16:35:06 UTC) #10
herhut
On 2015/03/09 16:35:06, floitsch wrote: > https://chromiumcodereview.appspot.com/974803002/diff/20001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart > File pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart (right): > > https://chromiumcodereview.appspot.com/974803002/diff/20001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart#newcode551 > ...
5 years, 9 months ago (2015-03-10 13:35:26 UTC) #11
herhut
This is now good to go. On 2015/03/10 13:35:26, herhut wrote: > On 2015/03/09 16:35:06, ...
5 years, 9 months ago (2015-03-10 16:00:03 UTC) #12
herhut
Oh, and PTAL again. On 2015/03/10 16:00:03, herhut wrote: > This is now good to ...
5 years, 9 months ago (2015-03-10 16:00:37 UTC) #13
floitsch
Still LGTM. https://codereview.chromium.org/974803002/diff/100001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart File pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart (right): https://codereview.chromium.org/974803002/diff/100001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart#newcode401 pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart:401: }''', { 'deferredAction': js.string(namer.deferredAction), potentially create the ...
5 years, 9 months ago (2015-03-11 13:59:34 UTC) #14
herhut
https://codereview.chromium.org/974803002/diff/100001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart File pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart (right): https://codereview.chromium.org/974803002/diff/100001/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart#newcode401 pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart:401: }''', { 'deferredAction': js.string(namer.deferredAction), On 2015/03/11 13:59:33, floitsch wrote: ...
5 years, 9 months ago (2015-03-13 12:28:53 UTC) #15
herhut
5 years, 9 months ago (2015-03-13 12:36:04 UTC) #16
Message was sent while issue was closed.
Committed patchset #8 (id:140001) manually as 44458 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698