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

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

Issue 2667473003: Move Entity and Local to entities.dart (Closed)
Patch Set: Created 3 years, 10 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 dart2js.js_emitter.code_emitter_task; 5 library dart2js.js_emitter.code_emitter_task;
6 6
7 import 'package:js_runtime/shared/embedded_names.dart' show JsBuiltin; 7 import 'package:js_runtime/shared/embedded_names.dart' show JsBuiltin;
8 8
9 import '../common.dart'; 9 import '../common.dart';
10 import '../common/tasks.dart' show CompilerTask; 10 import '../common/tasks.dart' show CompilerTask;
11 import '../compiler.dart' show Compiler; 11 import '../compiler.dart' show Compiler;
12 import '../constants/values.dart'; 12 import '../constants/values.dart';
13 import '../deferred_load.dart' show OutputUnit; 13 import '../deferred_load.dart' show OutputUnit;
14 import '../elements/elements.dart' show Entity;
15 import '../elements/entities.dart'; 14 import '../elements/entities.dart';
16 import '../js/js.dart' as jsAst; 15 import '../js/js.dart' as jsAst;
17 import '../js_backend/js_backend.dart' show JavaScriptBackend, Namer; 16 import '../js_backend/js_backend.dart' show JavaScriptBackend, Namer;
18 import '../world.dart' show ClosedWorld; 17 import '../world.dart' show ClosedWorld;
19 import 'full_emitter/emitter.dart' as full_js_emitter; 18 import 'full_emitter/emitter.dart' as full_js_emitter;
20 import 'lazy_emitter/emitter.dart' as lazy_js_emitter; 19 import 'lazy_emitter/emitter.dart' as lazy_js_emitter;
21 import 'program_builder/program_builder.dart'; 20 import 'program_builder/program_builder.dart';
22 import 'startup_emitter/emitter.dart' as startup_js_emitter; 21 import 'startup_emitter/emitter.dart' as startup_js_emitter;
23 22
24 import 'metadata_collector.dart' show MetadataCollector; 23 import 'metadata_collector.dart' show MetadataCollector;
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 jsAst.Expression constantReference(ConstantValue constant); 246 jsAst.Expression constantReference(ConstantValue constant);
248 247
249 /// Returns the JS template for the given [builtin]. 248 /// Returns the JS template for the given [builtin].
250 jsAst.Template templateForBuiltin(JsBuiltin builtin); 249 jsAst.Template templateForBuiltin(JsBuiltin builtin);
251 250
252 /// Returns the size of the code generated for a given output [unit]. 251 /// Returns the size of the code generated for a given output [unit].
253 int generatedSize(OutputUnit unit); 252 int generatedSize(OutputUnit unit);
254 253
255 void invalidateCaches(); 254 void invalidateCaches();
256 } 255 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/native_data.dart ('k') | pkg/compiler/lib/src/js_emitter/constant_ordering.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698