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

Issue 2349163003: Move towards using WorldImpact for codegen (Closed)

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

Description

Move towards using WorldImpact for codegen CustomElementsAnalysis, TypeVariableHandler, LookupAnalysis and metadata constants no longer require a [Registry] but instead collect their impact. R=het@google.com, sra@google.com Committed: https://github.com/dart-lang/sdk/commit/0a79576ed057d73d25a322d5d0158dbd77a44819 Reverted: https://github.com/dart-lang/sdk/commit/2a1ae8a3cecad9abf3a48a89f31a8aff96a4cb36 Committed: https://github.com/dart-lang/sdk/commit/bad12f912b0e4aea23dd4b83cb5d144ba75bcfe7

Patch Set 1 #

Patch Set 2 : Cleanup. #

Total comments: 6

Patch Set 3 : Rebased #

Patch Set 4 : Reinsert missing features uses. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -157 lines) Patch
M pkg/compiler/lib/src/common/backend_api.dart View 2 chunks +4 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/common/codegen.dart View 1 4 chunks +5 lines, -12 lines 0 comments Download
M pkg/compiler/lib/src/common/registry.dart View 1 1 chunk +1 line, -39 lines 0 comments Download
M pkg/compiler/lib/src/compiler.dart View 1 2 6 chunks +12 lines, -12 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 1 2 3 17 chunks +76 lines, -49 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend_impact.dart View 1 2 3 3 chunks +36 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/custom_elements_analysis.dart View 3 chunks +7 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/js_interop_analysis.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart View 1 5 chunks +18 lines, -8 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/type_variable_handler.dart View 4 chunks +12 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/interceptor_stub_generator.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js_emitter/native_emitter.dart View 1 chunk +1 line, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/native/enqueue.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/resolution/registry.dart View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/types/masks.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/universe/world_impact.dart View 2 chunks +62 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/world.dart View 1 2 4 chunks +6 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/compiler_helper.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/map_tracer_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/patch_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/related_types.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tests/compiler/dart2js/related_types_test.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tests/compiler/dart2js/serialization/model_test_helper.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/type_combination_test.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/type_mask_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/union_type_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (6 generated)
Johnni Winther
4 years, 3 months ago (2016-09-19 13:27:44 UTC) #2
Johnni Winther
4 years, 3 months ago (2016-09-19 13:31:30 UTC) #3
Harry Terkelsen
lgtm https://codereview.chromium.org/2349163003/diff/20001/pkg/compiler/lib/src/compiler.dart File pkg/compiler/lib/src/compiler.dart (right): https://codereview.chromium.org/2349163003/diff/20001/pkg/compiler/lib/src/compiler.dart#newcode726 pkg/compiler/lib/src/compiler.dart:726: openWorld.closeWorld(); consider renaming 'closeWorld' to close? https://codereview.chromium.org/2349163003/diff/20001/pkg/compiler/lib/src/js_backend/backend.dart File ...
4 years, 3 months ago (2016-09-19 21:17:53 UTC) #5
Johnni Winther
Committed patchset #2 (id:20001) manually as 0a79576ed057d73d25a322d5d0158dbd77a44819 (presubmit successful).
4 years, 3 months ago (2016-09-21 10:31:45 UTC) #7
sra1
I am going to revert this CL because it tanks the JSInterop and DromaeoDRT benchmarks. ...
4 years, 3 months ago (2016-09-21 17:37:49 UTC) #9
sra1
On 2016/09/21 17:37:49, sra1 wrote: > I am going to revert this CL because it ...
4 years, 3 months ago (2016-09-21 22:18:44 UTC) #11
Johnni Winther
PTAL @ at the last patch
4 years, 3 months ago (2016-09-22 09:10:48 UTC) #12
sra1
lgtm
4 years, 3 months ago (2016-09-22 20:44:21 UTC) #13
Johnni Winther
4 years, 3 months ago (2016-09-23 08:43:20 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
bad12f912b0e4aea23dd4b83cb5d144ba75bcfe7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698