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

Issue 2728393005: Extract CodegenImpactTransformer from ImpactTransformer (Closed)

Created:
3 years, 9 months ago by Johnni Winther
Modified:
3 years, 9 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Extract CodegenImpactTransformer from ImpactTransformer + remove backend use from JavaScriptImpactTransformer + almost remove use of backend in CodegenImpactTransformer R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/db7262d4ae7c690a693ca54e0015ae3239af18e2

Patch Set 1 #

Patch Set 2 : Make fields final. #

Total comments: 4

Patch Set 3 : Updated cf. comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -120 lines) Patch
M pkg/compiler/lib/src/common/backend_api.dart View 1 2 2 chunks +6 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 7 chunks +36 lines, -10 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/impact_transformer.dart View 1 2 12 chunks +163 lines, -103 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Johnni Winther
3 years, 9 months ago (2017-03-07 13:38:56 UTC) #2
Siggi Cherem (dart-lang)
lgtm, neat! https://codereview.chromium.org/2728393005/diff/20001/pkg/compiler/lib/src/common/backend_api.dart File pkg/compiler/lib/src/common/backend_api.dart (right): https://codereview.chromium.org/2728393005/diff/20001/pkg/compiler/lib/src/common/backend_api.dart#newcode40 pkg/compiler/lib/src/common/backend_api.dart:40: /// Backend transformation for resolution world impacts. ...
3 years, 9 months ago (2017-03-14 05:33:01 UTC) #3
Johnni Winther
Committed patchset #3 (id:40001) manually as db7262d4ae7c690a693ca54e0015ae3239af18e2 (presubmit successful).
3 years, 9 months ago (2017-03-15 13:11:27 UTC) #5
Johnni Winther
3 years, 9 months ago (2017-03-15 13:11:50 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/2728393005/diff/20001/pkg/compiler/lib/src/co...
File pkg/compiler/lib/src/common/backend_api.dart (right):

https://codereview.chromium.org/2728393005/diff/20001/pkg/compiler/lib/src/co...
pkg/compiler/lib/src/common/backend_api.dart:40: /// Backend transformation for
resolution world impacts.
On 2017/03/14 05:33:01, Siggi Cherem (dart-lang) wrote:
> you might want to define what a impact transformation is (e.g. "it process
> target-agnostic impacts and appends extra impact data that is backend/target
> specific, for example: if certain feature is used that requires some helper
code
> from the backend libraries, this will be included by the impact
transformer"...)

Done.

https://codereview.chromium.org/2728393005/diff/20001/pkg/compiler/lib/src/js...
File pkg/compiler/lib/src/js_backend/impact_transformer.dart (right):

https://codereview.chromium.org/2728393005/diff/20001/pkg/compiler/lib/src/js...
pkg/compiler/lib/src/js_backend/impact_transformer.dart:337: //
TODO(johnniwinther): Remove this need for this.
On 2017/03/14 05:33:01, Siggi Cherem (dart-lang) wrote:
> this need => the need

Done.

Powered by Google App Engine
This is Rietveld 408576698