| OLD | NEW |
| 1 library tree_ir.integrity; | 1 library tree_ir.integrity; |
| 2 | 2 |
| 3 import 'tree_ir_nodes.dart'; | 3 import 'tree_ir_nodes.dart'; |
| 4 | 4 |
| 5 /// Performs integrity checks on the tree_ir. | 5 /// Performs integrity checks on the tree_ir. |
| 6 /// | 6 /// |
| 7 /// Should only be run for debugging purposes, not in production. | 7 /// Should only be run for debugging purposes, not in production. |
| 8 /// | 8 /// |
| 9 /// - Reference counts on must match the actual number of references. | 9 /// - Reference counts on must match the actual number of references. |
| 10 /// - Labels must be in scope when referenced. | 10 /// - Labels must be in scope when referenced. |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 if (reads != variable.readCount || writes != variable.writeCount) { | 177 if (reads != variable.readCount || writes != variable.writeCount) { |
| 178 error('Invalid reference count for $variable:\n' | 178 error('Invalid reference count for $variable:\n' |
| 179 '- Variable has $reads reads and $writes writes\n' | 179 '- Variable has $reads reads and $writes writes\n' |
| 180 '- Reference count is ${variable.readCount} reads and ' | 180 '- Reference count is ${variable.readCount} reads and ' |
| 181 '${variable.writeCount} writes'); | 181 '${variable.writeCount} writes'); |
| 182 } | 182 } |
| 183 } | 183 } |
| 184 } | 184 } |
| 185 | 185 |
| 186 } | 186 } |
| 187 | |
| OLD | NEW |