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

Side by Side Diff: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart

Issue 1762723002: Cleanup 1: split parts into their own libraries, remove unused imports (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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.ir_builder_task; 5 library dart2js.ir_builder_task;
6 6
7 import '../closure.dart' as closure; 7 import '../closure.dart' as closure;
8 import '../common.dart'; 8 import '../common.dart';
9 import '../common/names.dart' show 9 import '../common/names.dart' show
10 Identifiers, 10 Identifiers,
(...skipping 30 matching lines...) Expand all
41 import '../constants/values.dart' show 41 import '../constants/values.dart' show
42 ConstantValue; 42 ConstantValue;
43 import 'cps_ir_nodes.dart' as ir; 43 import 'cps_ir_nodes.dart' as ir;
44 import 'cps_ir_builder.dart'; 44 import 'cps_ir_builder.dart';
45 import '../native/native.dart' show 45 import '../native/native.dart' show
46 NativeBehavior, 46 NativeBehavior,
47 HasCapturedPlaceholders; 47 HasCapturedPlaceholders;
48 48
49 // TODO(karlklose): remove. 49 // TODO(karlklose): remove.
50 import '../js/js.dart' as js show js, Template, Expression, Name; 50 import '../js/js.dart' as js show js, Template, Expression, Name;
51 import '../ssa/ssa.dart' show TypeMaskFactory; 51 import '../ssa/types.dart' show TypeMaskFactory;
52 import '../util/util.dart'; 52 import '../util/util.dart';
53 53
54 import 'package:js_runtime/shared/embedded_names.dart' 54 import 'package:js_runtime/shared/embedded_names.dart'
55 show JsBuiltin, JsGetName; 55 show JsBuiltin, JsGetName;
56 import '../constants/values.dart'; 56 import '../constants/values.dart';
57 import 'type_mask_system.dart' show 57 import 'type_mask_system.dart' show
58 TypeMaskSystem; 58 TypeMaskSystem;
59 59
60 typedef void IrBuilderCallback(Element element, ir.FunctionDefinition irNode); 60 typedef void IrBuilderCallback(Element element, ir.FunctionDefinition irNode);
61 61
(...skipping 3981 matching lines...) Expand 10 before | Expand all | Expand 10 after
4043 _backend.jsInteropAnalysis.hasAnonymousAnnotation(element.contextClass); 4043 _backend.jsInteropAnalysis.hasAnonymousAnnotation(element.contextClass);
4044 4044
4045 String getJsInteropTargetPath(FunctionElement element) { 4045 String getJsInteropTargetPath(FunctionElement element) {
4046 return '${_backend.namer.fixedBackendPath(element)}.' 4046 return '${_backend.namer.fixedBackendPath(element)}.'
4047 '${_backend.getFixedBackendName(element)}'; 4047 '${_backend.getFixedBackendName(element)}';
4048 } 4048 }
4049 4049
4050 DartType get jsJavascriptObjectType => 4050 DartType get jsJavascriptObjectType =>
4051 _backend.helpers.jsJavaScriptObjectClass.thisType; 4051 _backend.helpers.jsJavaScriptObjectClass.thisType;
4052 } 4052 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698