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

Side by Side Diff: pkg/compiler/lib/src/js_emitter/startup_emitter/model_emitter.dart

Issue 2595493002: Merge CoreTypes and CoreClasses into CommonElements. (Closed)
Patch Set: Updated cf. comment Created 3 years, 12 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 library dart2js.js_emitter.startup_emitter.model_emitter; 5 library dart2js.js_emitter.startup_emitter.model_emitter;
6 6
7 import 'dart:convert' show JsonEncoder; 7 import 'dart:convert' show JsonEncoder;
8 8
9 import 'package:js_runtime/shared/embedded_names.dart' 9 import 'package:js_runtime/shared/embedded_names.dart'
10 show 10 show
(...skipping 15 matching lines...) Expand all
26 MANGLED_NAMES, 26 MANGLED_NAMES,
27 METADATA, 27 METADATA,
28 NATIVE_SUPERCLASS_TAG_NAME, 28 NATIVE_SUPERCLASS_TAG_NAME,
29 STATIC_FUNCTION_NAME_TO_CLOSURE, 29 STATIC_FUNCTION_NAME_TO_CLOSURE,
30 TYPE_TO_INTERCEPTOR_MAP, 30 TYPE_TO_INTERCEPTOR_MAP,
31 TYPES; 31 TYPES;
32 32
33 import '../../common.dart'; 33 import '../../common.dart';
34 import '../../compiler.dart' show Compiler; 34 import '../../compiler.dart' show Compiler;
35 import '../../constants/values.dart' show ConstantValue, FunctionConstantValue; 35 import '../../constants/values.dart' show ConstantValue, FunctionConstantValue;
36 import '../../core_types.dart' show CoreClasses; 36 import '../../core_types.dart' show CommonElements;
37 import '../../elements/elements.dart' show ClassElement, FunctionElement; 37 import '../../elements/elements.dart' show ClassElement, FunctionElement;
38 import '../../hash/sha1.dart' show Hasher; 38 import '../../hash/sha1.dart' show Hasher;
39 import '../../io/code_output.dart'; 39 import '../../io/code_output.dart';
40 import '../../io/line_column_provider.dart' 40 import '../../io/line_column_provider.dart'
41 show LineColumnCollector, LineColumnProvider; 41 show LineColumnCollector, LineColumnProvider;
42 import '../../io/source_map_builder.dart' show SourceMapBuilder; 42 import '../../io/source_map_builder.dart' show SourceMapBuilder;
43 import '../../js/js.dart' as js; 43 import '../../js/js.dart' as js;
44 import '../../js_backend/js_backend.dart' 44 import '../../js_backend/js_backend.dart'
45 show JavaScriptBackend, Namer, ConstantEmitter; 45 show JavaScriptBackend, Namer, ConstantEmitter;
46 import '../../util/uri_extras.dart' show relativize; 46 import '../../util/uri_extras.dart' show relativize;
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 // data. 396 // data.
397 mapping["_comment"] = "This mapping shows which compiled `.js` files are " 397 mapping["_comment"] = "This mapping shows which compiled `.js` files are "
398 "needed for a given deferred library import."; 398 "needed for a given deferred library import.";
399 mapping.addAll(compiler.deferredLoadTask.computeDeferredMap()); 399 mapping.addAll(compiler.deferredLoadTask.computeDeferredMap());
400 compiler.outputProvider( 400 compiler.outputProvider(
401 compiler.options.deferredMapUri.path, 'deferred_map') 401 compiler.options.deferredMapUri.path, 'deferred_map')
402 ..add(const JsonEncoder.withIndent(" ").convert(mapping)) 402 ..add(const JsonEncoder.withIndent(" ").convert(mapping))
403 ..close(); 403 ..close();
404 } 404 }
405 } 405 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart ('k') | pkg/compiler/lib/src/mirrors_used.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698