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

Side by Side Diff: pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart

Issue 1394063004: Use common.dart to re-export commonly used entities. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /// Analysis to determine how to generate code for `LookupMap`s. 5 /// Analysis to determine how to generate code for `LookupMap`s.
6 library compiler.src.js_backend.lookup_map_analysis; 6 library compiler.src.js_backend.lookup_map_analysis;
7 7
8 import '../common.dart';
8 import '../common/registry.dart' show Registry; 9 import '../common/registry.dart' show Registry;
9 import '../compiler.dart' show Compiler; 10 import '../compiler.dart' show Compiler;
10 import '../diagnostics/diagnostic_listener.dart' show
11 DiagnosticReporter;
12 import '../diagnostics/messages.dart' show
13 MessageKind;
14 import '../constants/values.dart' show 11 import '../constants/values.dart' show
15 ConstantValue, 12 ConstantValue,
16 ConstructedConstantValue, 13 ConstructedConstantValue,
17 ListConstantValue, 14 ListConstantValue,
18 NullConstantValue, 15 NullConstantValue,
19 StringConstantValue, 16 StringConstantValue,
20 TypeConstantValue; 17 TypeConstantValue;
21 import '../dart_types.dart' show DartType; 18 import '../dart_types.dart' show DartType;
22 import '../elements/elements.dart' show 19 import '../elements/elements.dart' show
23 ClassElement, 20 ClassElement,
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 } 434 }
438 } else { 435 } else {
439 original.fields[analysis.entriesField] = 436 original.fields[analysis.entriesField] =
440 new ListConstantValue(listType, keyValuePairs); 437 new ListConstantValue(listType, keyValuePairs);
441 } 438 }
442 } 439 }
443 } 440 }
444 441
445 final _validLookupMapVersionConstraint = 442 final _validLookupMapVersionConstraint =
446 new VersionConstraint.parse('^0.0.1'); 443 new VersionConstraint.parse('^0.0.1');
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/js_backend.dart ('k') | pkg/compiler/lib/src/js_backend/patch_resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698