| 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 // VMOptions=--optimization-counter-threshold=10 | 4 // VMOptions=--optimization-counter-threshold=10 |
| 5 | 5 |
| 6 // Declares foo that returns 42. | 6 // Declares foo that returns 42. |
| 7 import "deferred_constraints_lib2.dart" deferred as lib; | 7 import "deferred_constraints_lib2.dart" deferred as lib; |
| 8 | 8 |
| 9 import 'package:expect/expect.dart'; | 9 import 'package:expect/expect.dart'; |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 heyhey() => barbar(); | 29 heyhey() => barbar(); |
| 30 | 30 |
| 31 | 31 |
| 32 barbar() { | 32 barbar() { |
| 33 if (libLoaded) { | 33 if (libLoaded) { |
| 34 // Returns 42. | 34 // Returns 42. |
| 35 return lib.foo(); | 35 return lib.foo(); |
| 36 } | 36 } |
| 37 return 88; | 37 return 88; |
| 38 } | 38 } |
| OLD | NEW |