Used to allow repeating tests in the same JVM. This just resets the Node unique id generator, and is done as part of making a new Parser.
()
| 585 | * Node unique id generator, and is done as part of making a new Parser. |
| 586 | */ |
| 587 | public static void reset() { |
| 588 | UNIQUE_ID = 1; |
| 589 | _disablePeephole=false; |
| 590 | GVN.clear(); |
| 591 | ITER_CNT = ITER_NOP_CNT = 0; |
| 592 | } |
| 593 | |
| 594 | |
| 595 | // Utility to walk the entire graph applying a function; return the first |