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

Issue 350693007: Load patches via callback. (Closed)

Created:
6 years, 6 months ago by Johnni Winther
Modified:
6 years, 6 months ago
Reviewers:
ahe, floitsch
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Load patches via callback. This CL is a prerequisite for moving patching to the JavaScript backend. BUG= R=ahe@google.com, floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=37651

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : Updated cf. comments. #

Total comments: 8

Patch Set 4 : Updated cf. comments. #

Patch Set 5 : Rebased #

Patch Set 6 : Fix caching_compiler #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -168 lines) Patch
M sdk/lib/_internal/compiler/implementation/compiler.dart View 1 2 3 4 5 5 chunks +20 lines, -5 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/dart2jslib.dart View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/elements/modelx.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 1 2 3 4 1 chunk +66 lines, -64 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/js_backend.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/library_loader.dart View 1 2 3 4 5 14 chunks +76 lines, -37 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/patch_parser.dart View 1 2 3 chunks +9 lines, -31 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/scanner/listener.dart View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/use_unused_api.dart View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M site/try/src/caching_compiler.dart View 1 2 3 4 5 3 chunks +2 lines, -21 lines 1 comment Download
M tests/compiler/dart2js/exit_code_test.dart View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/memory_compiler.dart View 1 chunk +10 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Johnni Winther
6 years, 6 months ago (2014-06-23 14:46:43 UTC) #1
floitsch
LGTM but I don't like the names. onX should be a function that takes a ...
6 years, 6 months ago (2014-06-23 19:12:34 UTC) #2
Johnni Winther
Updated cf. comments.
6 years, 6 months ago (2014-06-24 08:09:33 UTC) #3
Johnni Winther
PTAL -- I renamed several classes. https://codereview.chromium.org/350693007/diff/20001/sdk/lib/_internal/compiler/implementation/library_loader.dart File sdk/lib/_internal/compiler/implementation/library_loader.dart (right): https://codereview.chromium.org/350693007/diff/20001/sdk/lib/_internal/compiler/implementation/library_loader.dart#newcode141 sdk/lib/_internal/compiler/implementation/library_loader.dart:141: abstract class LibraryLoaderCallback ...
6 years, 6 months ago (2014-06-24 08:11:21 UTC) #4
floitsch
LGTM. much better, thanks. https://codereview.chromium.org/350693007/diff/30001/sdk/lib/_internal/compiler/implementation/compiler.dart File sdk/lib/_internal/compiler/implementation/compiler.dart (right): https://codereview.chromium.org/350693007/diff/30001/sdk/lib/_internal/compiler/implementation/compiler.dart#newcode1066 sdk/lib/_internal/compiler/implementation/compiler.dart:1066: /// Use [callback] to register ...
6 years, 6 months ago (2014-06-24 09:01:54 UTC) #5
Johnni Winther
https://codereview.chromium.org/350693007/diff/30001/sdk/lib/_internal/compiler/implementation/compiler.dart File sdk/lib/_internal/compiler/implementation/compiler.dart (right): https://codereview.chromium.org/350693007/diff/30001/sdk/lib/_internal/compiler/implementation/compiler.dart#newcode1066 sdk/lib/_internal/compiler/implementation/compiler.dart:1066: /// Use [callback] to register the creation and scanning ...
6 years, 6 months ago (2014-06-24 09:12:59 UTC) #6
Johnni Winther
@ahe: PTAL at the last patch.
6 years, 6 months ago (2014-06-24 09:45:15 UTC) #7
ahe
https://codereview.chromium.org/350693007/diff/90001/site/try/src/caching_compiler.dart File site/try/src/caching_compiler.dart (left): https://codereview.chromium.org/350693007/diff/90001/site/try/src/caching_compiler.dart#oldcode20 site/try/src/caching_compiler.dart:20: LibraryLoaderTask, // TODO(ahe): Remove this import. Changes in this ...
6 years, 6 months ago (2014-06-24 09:49:21 UTC) #8
Johnni Winther
6 years, 6 months ago (2014-06-24 10:41:37 UTC) #9
Message was sent while issue was closed.
Committed patchset #6 manually as r37651 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698