| 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 * This phase simplifies interceptors in multiple ways: | 8 * This phase simplifies interceptors in multiple ways: |
| 9 * | 9 * |
| 10 * 1) If the interceptor is for an object whose type is known, it | 10 * 1) If the interceptor is for an object whose type is known, it |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 instruction = new HInvokeDynamicMethod( | 321 instruction = new HInvokeDynamicMethod( |
| 322 selector, inputs, node.instructionType, true); | 322 selector, inputs, node.instructionType, true); |
| 323 } | 323 } |
| 324 | 324 |
| 325 HBasicBlock block = node.block; | 325 HBasicBlock block = node.block; |
| 326 block.addAfter(node, instruction); | 326 block.addAfter(node, instruction); |
| 327 block.rewrite(node, instruction); | 327 block.rewrite(node, instruction); |
| 328 return true; | 328 return true; |
| 329 } | 329 } |
| 330 } | 330 } |
| OLD | NEW |