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

Issue 1299413002: Move common identifiers, names and selectors to a separate library. (Closed)

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

Description

Move common identifiers, names and selectors to a separate library. BUG= R=sigurdm@google.com Committed: https://github.com/dart-lang/sdk/commit/99bc71afe67d8677a13b843cf42291fc5423819b

Patch Set 1 #

Total comments: 6

Patch Set 2 : Updated cf. comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+348 lines, -218 lines) Patch
M pkg/compiler/lib/src/closure.dart View 2 chunks +5 lines, -2 lines 0 comments Download
A pkg/compiler/lib/src/common/names.dart View 1 chunk +81 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/compiler.dart View 6 chunks +19 lines, -28 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart View 11 chunks +14 lines, -11 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart View 17 chunks +34 lines, -30 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/type_propagation.dart View 6 chunks +10 lines, -10 lines 0 comments Download
M pkg/compiler/lib/src/dart_backend/backend.dart View 1 chunk +6 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/elements/common.dart View 2 chunks +3 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/elements/elements.dart View 1 3 chunks +6 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/enqueue.dart View 5 chunks +8 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/closure_tracer.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/inferrer/node_tracer.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart View 2 chunks +5 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart View 6 chunks +14 lines, -13 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/type_graph_nodes.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 3 chunks +4 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/js_backend.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/namer.dart View 3 chunks +4 lines, -11 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/no_such_method_registry.dart View 5 chunks +5 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/class_stub_generator.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart View 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/js_emitter.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/resolution/class_hierarchy.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/resolution/class_members.dart View 6 chunks +9 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/resolution/members.dart View 10 chunks +26 lines, -22 lines 0 comments Download
M pkg/compiler/lib/src/resolution/resolution.dart View 3 chunks +4 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/serialization/modelz.dart View 2 chunks +16 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 6 chunks +8 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/ssa/ssa.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/universe/function_set.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/universe/universe.dart View 7 chunks +22 lines, -20 lines 0 comments Download
M tests/compiler/dart2js/backend_dart/dart_backend_test.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/cpa_inference_test.dart View 2 chunks +3 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/deferred_dont_inline_deferred_globals_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/deferred_follow_implicit_super_regression_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/deferred_mirrors_test.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/deferred_not_in_main_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/dictionary_types_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/patch_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/trust_type_annotations2_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/use_checks_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/value_range3_test.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (1 generated)
Johnni Winther
Main changes in common/names.dart and compiler.dart.
5 years, 4 months ago (2015-08-20 09:56:27 UTC) #2
sigurdm
LGTM https://codereview.chromium.org/1299413002/diff/1/pkg/compiler/lib/src/elements/elements.dart File pkg/compiler/lib/src/elements/elements.dart (right): https://codereview.chromium.org/1299413002/diff/1/pkg/compiler/lib/src/elements/elements.dart#newcode1282 pkg/compiler/lib/src/elements/elements.dart:1282: /// The name of this type declaration taking ...
5 years, 4 months ago (2015-08-20 10:19:02 UTC) #3
Johnni Winther
Committed patchset #2 (id:20001) manually as 99bc71afe67d8677a13b843cf42291fc5423819b (presubmit successful).
5 years, 4 months ago (2015-08-20 11:08:22 UTC) #4
Johnni Winther
5 years, 4 months ago (2015-08-21 11:49:22 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/1299413002/diff/1/pkg/compiler/lib/src/elemen...
File pkg/compiler/lib/src/elements/elements.dart (right):

https://codereview.chromium.org/1299413002/diff/1/pkg/compiler/lib/src/elemen...
pkg/compiler/lib/src/elements/elements.dart:1282: /// The name of this type
declaration taking privacy into account.
On 2015/08/20 10:19:02, sigurdm wrote:
>  /// The name of this type variable, taking privacy into account.
> (insert comma).

Done.

https://codereview.chromium.org/1299413002/diff/1/pkg/compiler/lib/src/elemen...
pkg/compiler/lib/src/elements/elements.dart:1494: /// The name of this type
variable taking privacy into account.
On 2015/08/20 10:19:02, sigurdm wrote:
> Same here

Done.

https://codereview.chromium.org/1299413002/diff/1/tests/compiler/dart2js/back...
File tests/compiler/dart2js/backend_dart/dart_backend_test.dart (right):

https://codereview.chromium.org/1299413002/diff/1/tests/compiler/dart2js/back...
tests/compiler/dart2js/backend_dart/dart_backend_test.dart:12: import
'package:compiler/src/compiler.dart' as leg;
On 2015/08/20 10:19:02, sigurdm wrote:
> This import seems to be unused now.
> Would be nice to get rid of references to `leg` - for outsiders it seems
really
> strange.

Removed :)

Powered by Google App Engine
This is Rietveld 408576698