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

Issue 2123073003: remove dependency on compiler from resolution (Closed)

Created:
4 years, 5 months ago by Harry Terkelsen
Modified:
4 years, 5 months ago
Reviewers:
Johnni Winther, sra1
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

remove dependency on compiler from resolution This is the first step of a refactoring that splits the resolution phase from the backend. The end goal is that resolution can be run without having to instantiate an entire compiler. R=johnniwinther@google.com Committed: https://github.com/dart-lang/sdk/commit/c5728623b96ee0250b5c08bc23577c878c5b9fec

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix tests #

Total comments: 15

Patch Set 3 : respond to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -266 lines) Patch
M pkg/compiler/lib/src/common/backend_api.dart View 6 chunks +3 lines, -32 lines 0 comments Download
M pkg/compiler/lib/src/common/resolution.dart View 1 2 6 chunks +68 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/compiler.dart View 1 2 10 chunks +69 lines, -18 lines 0 comments Download
M pkg/compiler/lib/src/dart_backend/backend.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/dart_types.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/resolution/class_hierarchy.dart View 1 2 10 chunks +17 lines, -18 lines 0 comments Download
M pkg/compiler/lib/src/resolution/constructors.dart View 2 chunks +3 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/resolution/members.dart View 1 2 28 chunks +47 lines, -43 lines 0 comments Download
M pkg/compiler/lib/src/resolution/registry.dart View 4 chunks +6 lines, -9 lines 0 comments Download
M pkg/compiler/lib/src/resolution/resolution.dart View 1 2 21 chunks +47 lines, -48 lines 0 comments Download
M pkg/compiler/lib/src/resolution/resolution_common.dart View 3 chunks +7 lines, -11 lines 0 comments Download
M pkg/compiler/lib/src/resolution/signatures.dart View 1 2 9 chunks +19 lines, -15 lines 0 comments Download
M pkg/compiler/lib/src/resolution/type_resolver.dart View 6 chunks +10 lines, -19 lines 0 comments Download
M pkg/compiler/lib/src/resolution/typedefs.dart View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/resolution/variables.dart View 4 chunks +6 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/source_file_provider.dart View 1 chunk +0 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/typechecker.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/exit_code_test.dart View 1 1 chunk +8 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/minimal_resolution_test.dart View 1 chunk +5 lines, -7 lines 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 1 2 chunks +4 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/resolver_test.dart View 1 5 chunks +16 lines, -10 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Harry Terkelsen
https://codereview.chromium.org/2123073003/diff/1/pkg/compiler/lib/src/resolution/resolution.dart File pkg/compiler/lib/src/resolution/resolution.dart (right): https://codereview.chromium.org/2123073003/diff/1/pkg/compiler/lib/src/resolution/resolution.dart#newcode152 pkg/compiler/lib/src/resolution/resolution.dart:152: if (asyncModifier.isAsynchronous) { this diff looks a lot crazier ...
4 years, 5 months ago (2016-07-06 22:44:45 UTC) #2
Harry Terkelsen
4 years, 5 months ago (2016-07-07 17:13:58 UTC) #4
Johnni Winther
lgtm https://codereview.chromium.org/2123073003/diff/20001/pkg/compiler/lib/src/common/resolution.dart File pkg/compiler/lib/src/common/resolution.dart (right): https://codereview.chromium.org/2123073003/diff/20001/pkg/compiler/lib/src/common/resolution.dart#newcode15 pkg/compiler/lib/src/common/resolution.dart:15: show AstElement, ClassElement, ConstructorElement, Element, ExecutableElement, FunctionElement, FunctionSignature, ...
4 years, 5 months ago (2016-07-08 08:05:39 UTC) #5
Harry Terkelsen
Thanks, Johnni! https://codereview.chromium.org/2123073003/diff/20001/pkg/compiler/lib/src/common/resolution.dart File pkg/compiler/lib/src/common/resolution.dart (right): https://codereview.chromium.org/2123073003/diff/20001/pkg/compiler/lib/src/common/resolution.dart#newcode15 pkg/compiler/lib/src/common/resolution.dart:15: show AstElement, ClassElement, ConstructorElement, Element, ExecutableElement, FunctionElement, ...
4 years, 5 months ago (2016-07-18 17:35:59 UTC) #6
Harry Terkelsen
4 years, 5 months ago (2016-07-18 17:40:28 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
c5728623b96ee0250b5c08bc23577c878c5b9fec (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698