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 part of ssa; | 5 part of ssa; |
6 | 6 |
7 /** | 7 /** |
8 * [InvokeDynamicSpecializer] and its subclasses are helpers to | 8 * [InvokeDynamicSpecializer] and its subclasses are helpers to |
9 * optimize intercepted dynamic calls. It knows what input types | 9 * optimize intercepted dynamic calls. It knows what input types |
10 * would be beneficial for performance, and how to change a invoke | 10 * would be beneficial for performance, and how to change a invoke |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 return constantSystem.codeUnitAt; | 740 return constantSystem.codeUnitAt; |
741 } | 741 } |
742 | 742 |
743 HInstruction tryConvertToBuiltin(HInvokeDynamic instruction, | 743 HInstruction tryConvertToBuiltin(HInvokeDynamic instruction, |
744 Compiler compiler) { | 744 Compiler compiler) { |
745 // TODO(sra): Implement a builtin HCodeUnitAt instruction and the same index | 745 // TODO(sra): Implement a builtin HCodeUnitAt instruction and the same index |
746 // bounds checking optimizations as for HIndex. | 746 // bounds checking optimizations as for HIndex. |
747 return null; | 747 return null; |
748 } | 748 } |
749 } | 749 } |
OLD | NEW |