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

Issue 12033003: Deferred (aka lazy) loading of static functions. (Closed)

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

Description

Deferred (aka lazy) loading of static functions. Committed: https://code.google.com/p/dart/source/detail?r=18671

Patch Set 1 : #

Total comments: 17

Patch Set 2 : Address comments #

Patch Set 3 : Rebased #

Total comments: 2

Patch Set 4 : Rebased (broken) #

Patch Set 5 : Ready to submit #

Patch Set 6 : Missing imports #

Total comments: 8

Patch Set 7 : Rebased #

Patch Set 8 : Address comments and use IsolateNatives.thisScript #

Unified diffs Side-by-side diffs Delta from patch set Stats (+293 lines, -15 lines) Patch
M dart/sdk/lib/_internal/compiler/implementation/compiler.dart View 1 2 3 4 5 6 7 5 chunks +9 lines, -1 line 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/dart2jslib.dart View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart View 1 2 3 4 5 6 7 1 chunk +103 lines, -0 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart View 1 2 3 4 5 6 8 chunks +38 lines, -6 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/lib/async_patch.dart View 1 2 3 4 5 6 7 2 chunks +53 lines, -8 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/warnings.dart View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M dart/tests/compiler/dart2js/mock_compiler.dart View 1 2 3 4 3 chunks +14 lines, -0 lines 0 comments Download
M dart/tests/compiler/dart2js_extra/dart2js_extra.status View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A dart/tests/compiler/dart2js_extra/deferred/deferred_function_library.dart View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
A dart/tests/compiler/dart2js_extra/deferred/deferred_function_test.dart View 1 2 3 4 1 chunk +36 lines, -0 lines 0 comments Download
A dart/tests/compiler/dart2js_extra/deferred/deferred_semantics_test.dart View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ahe
Request for initial comments. Please take a look at: dart/sdk/lib/_internal/compiler/implementation/lib/async_patch.dart I'm including everything for context, ...
7 years, 10 months ago (2013-02-04 17:46:29 UTC) #1
kasperl
Looks like pretty good progress to me. The big missing piece is probably coloring the ...
7 years, 10 months ago (2013-02-05 08:30:53 UTC) #2
ahe
Thank you for taking a look, Kasper! On 2013/02/05 08:30:53, kasperl wrote: > Looks like ...
7 years, 10 months ago (2013-02-05 08:33:08 UTC) #3
ahe
Thank you for taking an early look. I have uploaded a new patch set which ...
7 years, 10 months ago (2013-02-05 13:54:22 UTC) #4
ahe
Uploaded patch set 3 which is rebased on top of changes I have already submitted. ...
7 years, 10 months ago (2013-02-05 14:04:03 UTC) #5
sra1
https://codereview.chromium.org/12033003/diff/23001/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart File dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart (right): https://codereview.chromium.org/12033003/diff/23001/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart#newcode1068 dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:1068: // TODO(ahe): But we shold still inline into the ...
7 years, 10 months ago (2013-02-12 01:44:47 UTC) #6
ahe
I'm ready to try to submit this. PTAL. https://codereview.chromium.org/12033003/diff/23001/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart File dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart (right): https://codereview.chromium.org/12033003/diff/23001/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart#newcode1068 dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:1068: // ...
7 years, 10 months ago (2013-02-18 20:19:01 UTC) #7
ngeoffray
LGTM! https://codereview.chromium.org/12033003/diff/35001/dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart File dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart (right): https://codereview.chromium.org/12033003/diff/35001/dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart#newcode27 dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart:27: class DeferredLoadTask extends CompilerTask { Is there some ...
7 years, 10 months ago (2013-02-19 10:04:57 UTC) #8
ahe
PTAL at: https://codereview.chromium.org/12033003/diff2/27002:27003/dart/sdk/lib/_internal/compiler/implementation/compiler.dart https://codereview.chromium.org/12033003/diff2/27002:27003/dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart https://codereview.chromium.org/12033003/diff2/27002:27003/dart/sdk/lib/_internal/compiler/implementation/lib/async_patch.dart https://codereview.chromium.org/12033003/diff/35001/dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart File dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart (right): https://codereview.chromium.org/12033003/diff/35001/dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart#newcode27 dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart:27: class DeferredLoadTask extends CompilerTask ...
7 years, 10 months ago (2013-02-19 11:10:36 UTC) #9
ngeoffray
7 years, 10 months ago (2013-02-19 11:34:13 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld 408576698