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 | 4 |
5 import 'source_mapping_tester.dart'; | 5 import 'source_mapping_tester.dart'; |
6 import 'sourcemap_helper.dart'; | 6 import 'sourcemap_helper.dart'; |
7 | 7 |
8 void main() { | 8 void main() { |
9 test(['operators'], whiteListFunction: (String config, String file) { | 9 test(['operators'], whiteListFunction: (String config, String file) { |
10 bool allowGtOptimization(CodePoint codePoint) { | 10 bool allowGtOptimization(CodePoint codePoint) { |
11 // Allow missing code points for bailout optimization. | 11 // Allow missing code points for bailout optimization. |
12 return codePoint.jsCode.contains(r'.$gt()'); // # Issue 25304 | 12 return codePoint.jsCode.contains(r'.$gt()'); // # Issue 25304 |
13 } | 13 } |
14 | 14 |
15 return allowGtOptimization; | 15 return allowGtOptimization; |
16 }); | 16 }); |
17 } | 17 } |
OLD | NEW |