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

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

Issue 1153243003: dart2js: Use frequency of occurence to sort metadata indices. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sra comments Created 5 years, 6 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 library js_backend; 5 library js_backend;
6 6
7 import 'dart:async' show EventSink, Future; 7 import 'dart:async' show EventSink, Future;
8 8
9 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' 9 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart'
10 as embeddedNames; 10 as embeddedNames;
(...skipping 10 matching lines...) Expand all
21 import '../elements/elements.dart'; 21 import '../elements/elements.dart';
22 import '../io/code_output.dart'; 22 import '../io/code_output.dart';
23 import '../io/source_information.dart' show SourceInformationFactory; 23 import '../io/source_information.dart' show SourceInformationFactory;
24 import '../js/js.dart' as jsAst; 24 import '../js/js.dart' as jsAst;
25 import '../js/js.dart' show js; 25 import '../js/js.dart' show js;
26 import '../js_emitter/js_emitter.dart' 26 import '../js_emitter/js_emitter.dart'
27 show Emitter, 27 show Emitter,
28 CodeEmitterTask, 28 CodeEmitterTask,
29 ClassBuilder, 29 ClassBuilder,
30 MetadataCollector, 30 MetadataCollector,
31 Placeholder,
31 USE_NEW_EMITTER; 32 USE_NEW_EMITTER;
32 33
33 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; 34 import '../library_loader.dart' show LibraryLoader, LoadedLibraries;
34 import '../native/native.dart' as native; 35 import '../native/native.dart' as native;
35 import '../ssa/ssa.dart'; 36 import '../ssa/ssa.dart';
36 import '../tree/tree.dart'; 37 import '../tree/tree.dart';
37 import '../types/types.dart'; 38 import '../types/types.dart';
38 import '../universe/universe.dart'; 39 import '../universe/universe.dart';
39 import '../util/characters.dart'; 40 import '../util/characters.dart';
40 import '../util/util.dart'; 41 import '../util/util.dart';
(...skipping 10 matching lines...) Expand all
51 part 'backend.dart'; 52 part 'backend.dart';
52 part 'checked_mode_helpers.dart'; 53 part 'checked_mode_helpers.dart';
53 part 'constant_emitter.dart'; 54 part 'constant_emitter.dart';
54 part 'constant_handler_javascript.dart'; 55 part 'constant_handler_javascript.dart';
55 part 'custom_elements_analysis.dart'; 56 part 'custom_elements_analysis.dart';
56 part 'minify_namer.dart'; 57 part 'minify_namer.dart';
57 part 'namer.dart'; 58 part 'namer.dart';
58 part 'no_such_method_registry.dart'; 59 part 'no_such_method_registry.dart';
59 part 'runtime_types.dart'; 60 part 'runtime_types.dart';
60 part 'type_variable_handler.dart'; 61 part 'type_variable_handler.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698