| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 class HValidator extends HInstructionVisitor { | 7 class HValidator extends HInstructionVisitor { |
| 8 bool isValid = true; | 8 bool isValid = true; |
| 9 HGraph graph; | 9 HGraph graph; |
| 10 | 10 |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 markInvalid("Instruction in wrong block"); | 191 markInvalid("Instruction in wrong block"); |
| 192 } | 192 } |
| 193 if (!hasCorrectInputs()) { | 193 if (!hasCorrectInputs()) { |
| 194 markInvalid("Incorrect inputs"); | 194 markInvalid("Incorrect inputs"); |
| 195 } | 195 } |
| 196 if (!hasCorrectUses()) { | 196 if (!hasCorrectUses()) { |
| 197 markInvalid("Incorrect uses"); | 197 markInvalid("Incorrect uses"); |
| 198 } | 198 } |
| 199 } | 199 } |
| 200 } | 200 } |
| OLD | NEW |