| 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 closurelib; | 7 import '../closure.dart' as closurelib; |
| 8 import '../closure.dart' hide ClosureScope; | 8 import '../closure.dart' hide ClosureScope; |
| 9 import '../common.dart'; |
| 9 import '../common/names.dart' show | 10 import '../common/names.dart' show |
| 10 Names, | 11 Names, |
| 11 Selectors; | 12 Selectors; |
| 12 import '../common/tasks.dart' show | 13 import '../common/tasks.dart' show |
| 13 CompilerTask; | 14 CompilerTask; |
| 14 import '../compiler.dart' show | 15 import '../compiler.dart' show |
| 15 Compiler; | 16 Compiler; |
| 16 import '../constants/expressions.dart'; | 17 import '../constants/expressions.dart'; |
| 17 import '../dart_types.dart'; | 18 import '../dart_types.dart'; |
| 18 import '../diagnostics/diagnostic_listener.dart' show | |
| 19 DiagnosticReporter; | |
| 20 import '../diagnostics/invariant.dart' show | |
| 21 invariant; | |
| 22 import '../elements/elements.dart'; | 19 import '../elements/elements.dart'; |
| 23 import '../elements/modelx.dart' show | 20 import '../elements/modelx.dart' show |
| 24 SynthesizedConstructorElementX, | 21 SynthesizedConstructorElementX, |
| 25 ConstructorBodyElementX, | 22 ConstructorBodyElementX, |
| 26 FunctionSignatureX; | 23 FunctionSignatureX; |
| 27 import '../io/source_information.dart'; | 24 import '../io/source_information.dart'; |
| 28 import '../js_backend/js_backend.dart' show | 25 import '../js_backend/js_backend.dart' show |
| 29 JavaScriptBackend, | 26 JavaScriptBackend, |
| 30 SyntheticConstantKind; | 27 SyntheticConstantKind; |
| 31 import '../resolution/tree_elements.dart' show | 28 import '../resolution/tree_elements.dart' show |
| (...skipping 3547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3579 if (compiler.backend.isForeign(function)) { | 3576 if (compiler.backend.isForeign(function)) { |
| 3580 return handleForeignCode(node, function, argumentList, callStructure); | 3577 return handleForeignCode(node, function, argumentList, callStructure); |
| 3581 } else { | 3578 } else { |
| 3582 return irBuilder.buildStaticFunctionInvocation(function, callStructure, | 3579 return irBuilder.buildStaticFunctionInvocation(function, callStructure, |
| 3583 translateStaticArguments(argumentList, function, callStructure), | 3580 translateStaticArguments(argumentList, function, callStructure), |
| 3584 sourceInformation: | 3581 sourceInformation: |
| 3585 sourceInformationBuilder.buildCall(node, node.selector)); | 3582 sourceInformationBuilder.buildCall(node, node.selector)); |
| 3586 } | 3583 } |
| 3587 } | 3584 } |
| 3588 } | 3585 } |
| OLD | NEW |