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

Issue 2809203003: Remove Compiler/JavaScriptBackend from metadata_collector (Closed)

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

Description

Remove Compiler/JavaScriptBackend from metadata_collector - and Compiler from type_test_registry. The CodeEmitterTask was removed from the TypeRepresentationGenerator to break a dependency cycle between the two. An Emitter is now provided as an argument to TypeRepresentationGenerator methods instead. This is a step towards passing data object to the codegen/emitter instead of pulling data directly from Compiler/JavaScriptBackend. This is needed to support an element model switch between codegen and resolution. R=efortuna@google.com Committed: https://github.com/dart-lang/sdk/commit/e484e652e2e71d900a5c5b78b779ff11597cd630

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -175 lines) Patch
M pkg/compiler/lib/src/dump_info.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js/js.dart View 6 chunks +13 lines, -15 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 3 chunks +4 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/constant_emitter.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/js_backend/runtime_types.dart View 14 chunks +55 lines, -73 lines 2 comments Download
M pkg/compiler/lib/src/js_emitter/class_stub_generator.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/code_emitter_task.dart View 2 chunks +14 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart View 2 chunks +4 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/lazy_emitter/model_emitter.dart View 3 chunks +9 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/metadata_collector.dart View 10 chunks +36 lines, -27 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart View 4 chunks +8 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/startup_emitter/model_emitter.dart View 2 chunks +6 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/type_test_registry.dart View 9 chunks +16 lines, -19 lines 0 comments Download
M pkg/compiler/lib/src/ssa/codegen.dart View 1 chunk +3 lines, -1 line 0 comments Download
M tests/compiler/dart2js/js_parser_statements_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/js_parser_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/type_representation_test.dart View 2 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Johnni Winther
3 years, 8 months ago (2017-04-12 09:22:32 UTC) #2
Emily Fortuna
lgtm https://codereview.chromium.org/2809203003/diff/1/pkg/compiler/lib/src/js_backend/runtime_types.dart File pkg/compiler/lib/src/js_backend/runtime_types.dart (right): https://codereview.chromium.org/2809203003/diff/1/pkg/compiler/lib/src/js_backend/runtime_types.dart#newcode974 pkg/compiler/lib/src/js_backend/runtime_types.dart:974: visitMalformedType(MalformedType type, Emitter emitter) { just curious why ...
3 years, 8 months ago (2017-04-12 17:57:35 UTC) #3
Johnni Winther
https://codereview.chromium.org/2809203003/diff/1/pkg/compiler/lib/src/js_backend/runtime_types.dart File pkg/compiler/lib/src/js_backend/runtime_types.dart (right): https://codereview.chromium.org/2809203003/diff/1/pkg/compiler/lib/src/js_backend/runtime_types.dart#newcode974 pkg/compiler/lib/src/js_backend/runtime_types.dart:974: visitMalformedType(MalformedType type, Emitter emitter) { On 2017/04/12 17:57:35, Emily ...
3 years, 8 months ago (2017-04-18 07:47:01 UTC) #4
Johnni Winther
3 years, 8 months ago (2017-04-18 07:58:36 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
e484e652e2e71d900a5c5b78b779ff11597cd630 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698