| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |