| 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 instruction = new HInvokeDynamicMethod( | 296 instruction = new HInvokeDynamicMethod( |
| 297 selector, inputs, node.instructionType, true); | 297 selector, inputs, node.instructionType, true); |
| 298 } | 298 } |
| 299 | 299 |
| 300 HBasicBlock block = node.block; | 300 HBasicBlock block = node.block; |
| 301 block.addAfter(node, instruction); | 301 block.addAfter(node, instruction); |
| 302 block.rewrite(node, instruction); | 302 block.rewrite(node, instruction); |
| 303 return true; | 303 return true; |
| 304 } | 304 } |
| 305 } | 305 } |
| OLD | NEW |