| OLD | NEW |
| 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 // VMOptions=-DUSE_CPS_IR=true | 4 // VMOptions=-DUSE_CPS_IR=true |
| 5 | 5 |
| 6 // Tests of interceptors. | 6 // Tests of interceptors. |
| 7 | 7 |
| 8 library constructor_test; | 8 library constructor_test; |
| 9 | 9 |
| 10 import 'js_backend_cps_ir.dart'; | 10 import 'js_backend_cps_ir.dart'; |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 } | 152 } |
| 153 class Foo extends Bar { | 153 class Foo extends Bar { |
| 154 Foo() : super('x', y: 'y', w: 'w'); | 154 Foo() : super('x', y: 'y', w: 'w'); |
| 155 } | 155 } |
| 156 main() { | 156 main() { |
| 157 new Foo(); | 157 new Foo(); |
| 158 } | 158 } |
| 159 """, | 159 """, |
| 160 r""" | 160 r""" |
| 161 function() { | 161 function() { |
| 162 var x, y, w, z, q, v0; | 162 var v0; |
| 163 x = "x"; | |
| 164 y = "y"; | |
| 165 w = "w"; | |
| 166 z = "z"; | |
| 167 q = null; | |
| 168 v0 = new V.Foo(); | 163 v0 = new V.Foo(); |
| 169 v0.Bar$5$q$w$y$z(x, q, w, y, z); | 164 v0.Bar$5$q$w$y$z("x", null, "w", "y", "z"); |
| 170 return v0; | 165 return v0; |
| 171 }"""), | 166 }"""), |
| 172 ]; | 167 ]; |
| 173 | 168 |
| 174 void main() { | 169 void main() { |
| 175 runTests(tests); | 170 runTests(tests); |
| 176 } | 171 } |
| OLD | NEW |