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

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

Issue 2221893003: pkg/compiler: fix imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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; 5 library dart2js.js_emitter.startup_emitter;
6 6
7 import 'package:js_runtime/shared/embedded_names.dart' 7 import 'package:js_runtime/shared/embedded_names.dart'
8 show JsBuiltin, METADATA, STATIC_FUNCTION_NAME_TO_CLOSURE, TYPES; 8 show JsBuiltin, METADATA, STATIC_FUNCTION_NAME_TO_CLOSURE, TYPES;
9 9
10 import '../../common.dart'; 10 import '../../common.dart';
11 import '../../compiler.dart' show Compiler; 11 import '../../compiler.dart' show Compiler;
12 import '../../constants/values.dart' show ConstantValue; 12 import '../../constants/values.dart' show ConstantValue;
13 import '../../elements/elements.dart' 13 import '../../elements/elements.dart'
14 show ClassElement, Element, FieldElement, FunctionElement; 14 show ClassElement, Element, FieldElement, FunctionElement;
15 import '../../js/js.dart' as js; 15 import '../../js/js.dart' as js;
16 import '../../js_backend/js_backend.dart' show JavaScriptBackend, Namer; 16 import '../../js_backend/js_backend.dart' show JavaScriptBackend, Namer;
17
18 import '../js_emitter.dart' show NativeEmitter; 17 import '../js_emitter.dart' show NativeEmitter;
19 import '../js_emitter.dart' as emitterTask show Emitter; 18 import '../js_emitter.dart' as emitterTask show Emitter;
19 import '../model.dart';
20 import '../program_builder/program_builder.dart' show ProgramBuilder; 20 import '../program_builder/program_builder.dart' show ProgramBuilder;
21 import '../model.dart';
22
23 import 'model_emitter.dart'; 21 import 'model_emitter.dart';
24 22
25 class Emitter implements emitterTask.Emitter { 23 class Emitter implements emitterTask.Emitter {
26 final Compiler _compiler; 24 final Compiler _compiler;
27 final Namer namer; 25 final Namer namer;
28 final ModelEmitter _emitter; 26 final ModelEmitter _emitter;
29 27
30 JavaScriptBackend get _backend => _compiler.backend; 28 JavaScriptBackend get _backend => _compiler.backend;
31 29
32 Emitter(Compiler compiler, Namer namer, NativeEmitter nativeEmitter, 30 Emitter(Compiler compiler, Namer namer, NativeEmitter nativeEmitter,
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 default: 176 default:
179 reporter.internalError( 177 reporter.internalError(
180 NO_LOCATION_SPANNABLE, "Unhandled Builtin: $builtin"); 178 NO_LOCATION_SPANNABLE, "Unhandled Builtin: $builtin");
181 return null; 179 return null;
182 } 180 }
183 } 181 }
184 182
185 @override 183 @override
186 void invalidateCaches() {} 184 void invalidateCaches() {}
187 } 185 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698