| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 /// Unittest test of the CPS ir generated by the dart2dart compiler. | 5 /// Unittest test of the CPS ir generated by the dart2dart compiler. |
| 6 library dart_backend.sexpr2_test; | 6 library dart_backend.sexpr2_test; |
| 7 | 7 |
| 8 import 'package:compiler/src/dart2jslib.dart'; | 8 import 'package:compiler/src/dart2jslib.dart'; |
| 9 import 'package:compiler/src/cps_ir/cps_ir_nodes.dart'; | 9 import 'package:compiler/src/cps_ir/cps_ir_nodes.dart'; |
| 10 import 'package:compiler/src/cps_ir/cps_ir_nodes_sexpr.dart'; | 10 import 'package:compiler/src/cps_ir/cps_ir_nodes_sexpr.dart'; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 element = cls.localLookup( | 53 element = cls.localLookup( |
| 54 elementName.substring(elementName.indexOf('.') + 1)); | 54 elementName.substring(elementName.indexOf('.') + 1)); |
| 55 } else { | 55 } else { |
| 56 element = compiler.mainApp.localLookup(elementName); | 56 element = compiler.mainApp.localLookup(elementName); |
| 57 } | 57 } |
| 58 checkOutput(elementName, element, output); | 58 checkOutput(elementName, element, output); |
| 59 }); | 59 }); |
| 60 } | 60 } |
| 61 }); | 61 }); |
| 62 } | 62 } |
| OLD | NEW |