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.
()
| 607 | * Node unique id generator, and is done as part of making a new Parser. |
| 608 | */ |
| 609 | public static void reset() { |
| 610 | UNIQUE_ID = 1; |
| 611 | _disablePeephole=false; |
| 612 | GVN.clear(); |
| 613 | ITER_CNT = ITER_NOP_CNT = 0; |
| 614 | } |
| 615 | |
| 616 | |
| 617 | // Utility to walk the entire graph applying a function; return the first |