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

Issue 1819053002: Split loader from the rest of the compiler. This adds several abstractions to (Closed)

Created:
4 years, 9 months ago by Siggi Cherem (dart-lang)
Modified:
4 years, 9 months ago
CC:
reviews_dartlang.org, sra1, Harry Terkelsen
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Split loader from the rest of the compiler. This adds several abstractions to make the decoupling easier. Some of the new abstractions should be revisited, but it's a step forward :). R=het@google.com Committed: https://github.com/dart-lang/sdk/commit/bada3cac9de026784015074b44ddf1def8a79670

Patch Set 1 : #

Total comments: 3

Patch Set 2 : add environment.dart #

Total comments: 17
Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -151 lines) Patch
M pkg/compiler/lib/src/apiimpl.dart View 8 chunks +55 lines, -66 lines 0 comments Download
M pkg/compiler/lib/src/compiler.dart View 10 chunks +56 lines, -19 lines 7 comments Download
A pkg/compiler/lib/src/environment.dart View 1 1 chunk +16 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/library_loader.dart View 18 chunks +164 lines, -60 lines 10 comments Download
M pkg/compiler/lib/src/patch_parser.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/script.dart View 1 chunk +9 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/serialization/serialization.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/serialization/task.dart View 1 chunk +9 lines, -1 line 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
Siggi Cherem (dart-lang)
https://codereview.chromium.org/1819053002/diff/20001/pkg/compiler/lib/src/apiimpl.dart File pkg/compiler/lib/src/apiimpl.dart (left): https://codereview.chromium.org/1819053002/diff/20001/pkg/compiler/lib/src/apiimpl.dart#oldcode398 pkg/compiler/lib/src/apiimpl.dart:398: diagnoseCrashInUserCode('Uncaught exception in input provider', ex, s); diagnosCrashInUserCode was ...
4 years, 9 months ago (2016-03-21 19:25:49 UTC) #3
Siggi Cherem (dart-lang)
4 years, 9 months ago (2016-03-21 21:13:50 UTC) #4
Harry Terkelsen
https://codereview.chromium.org/1819053002/diff/20001/pkg/compiler/lib/src/apiimpl.dart File pkg/compiler/lib/src/apiimpl.dart (right): https://codereview.chromium.org/1819053002/diff/20001/pkg/compiler/lib/src/apiimpl.dart#newcode29 pkg/compiler/lib/src/apiimpl.dart:29: import 'environment.dart'; Did you forget to upload environment.dart?
4 years, 9 months ago (2016-03-22 21:07:58 UTC) #6
Siggi Cherem (dart-lang)
https://codereview.chromium.org/1819053002/diff/20001/pkg/compiler/lib/src/apiimpl.dart File pkg/compiler/lib/src/apiimpl.dart (right): https://codereview.chromium.org/1819053002/diff/20001/pkg/compiler/lib/src/apiimpl.dart#newcode29 pkg/compiler/lib/src/apiimpl.dart:29: import 'environment.dart'; On 2016/03/22 21:07:58, Harry Terkelsen wrote: > ...
4 years, 9 months ago (2016-03-22 21:10:41 UTC) #7
Harry Terkelsen
lgtm https://codereview.chromium.org/1819053002/diff/40001/pkg/compiler/lib/src/compiler.dart File pkg/compiler/lib/src/compiler.dart (right): https://codereview.chromium.org/1819053002/diff/40001/pkg/compiler/lib/src/compiler.dart#newcode291 pkg/compiler/lib/src/compiler.dart:291: fromEnvironment(String name) => environment.valueOf(name); add @deprecated https://codereview.chromium.org/1819053002/diff/40001/pkg/compiler/lib/src/compiler.dart#newcode402 pkg/compiler/lib/src/compiler.dart:402: ...
4 years, 9 months ago (2016-03-22 21:49:28 UTC) #8
Siggi Cherem (dart-lang)
thanks https://codereview.chromium.org/1819053002/diff/40001/pkg/compiler/lib/src/compiler.dart File pkg/compiler/lib/src/compiler.dart (right): https://codereview.chromium.org/1819053002/diff/40001/pkg/compiler/lib/src/compiler.dart#newcode291 pkg/compiler/lib/src/compiler.dart:291: fromEnvironment(String name) => environment.valueOf(name); On 2016/03/22 21:49:28, Harry ...
4 years, 9 months ago (2016-03-23 22:51:05 UTC) #9
Siggi Cherem (dart-lang)
4 years, 9 months ago (2016-03-23 23:02:40 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:40001) manually as
bada3cac9de026784015074b44ddf1def8a79670 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698