| 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 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 719 } | 719 } |
| 720 | 720 |
| 721 HInstruction newBuiltinVariant(HInvokeDynamic instruction, | 721 HInstruction newBuiltinVariant(HInvokeDynamic instruction, |
| 722 Compiler compiler) { | 722 Compiler compiler) { |
| 723 JavaScriptBackend backend = compiler.backend; | 723 JavaScriptBackend backend = compiler.backend; |
| 724 return new HLessEqual( | 724 return new HLessEqual( |
| 725 instruction.inputs[1], instruction.inputs[2], | 725 instruction.inputs[1], instruction.inputs[2], |
| 726 instruction.selector, backend.boolType); | 726 instruction.selector, backend.boolType); |
| 727 } | 727 } |
| 728 } | 728 } |
| OLD | NEW |