| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 * The [LiveRange] class covers a range where an instruction is live. | 8 * The [LiveRange] class covers a range where an instruction is live. |
| 9 */ | 9 */ |
| 10 class LiveRange { | 10 class LiveRange { |
| (...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 707 if (!needsName(input)) { | 707 if (!needsName(input)) { |
| 708 names.addAssignment(predecessor, input, phi); | 708 names.addAssignment(predecessor, input, phi); |
| 709 } else { | 709 } else { |
| 710 names.addCopy(predecessor, input, phi); | 710 names.addCopy(predecessor, input, phi); |
| 711 } | 711 } |
| 712 } | 712 } |
| 713 | 713 |
| 714 namer.allocateName(phi); | 714 namer.allocateName(phi); |
| 715 } | 715 } |
| 716 } | 716 } |
| OLD | NEW |