()
| 564 | |
| 565 | // Swap inputs without letting either input go dead during the swap. |
| 566 | Node swap12() { |
| 567 | unlock(); // Hash is order dependent |
| 568 | Node tmp = in(1); |
| 569 | _inputs.set(1,in(2)); |
| 570 | _inputs.set(2,tmp); |
| 571 | return this; |
| 572 | } |
| 573 | |
| 574 | /** |
| 575 | * Does this node contain all constants? Ignores in(0), as is usually |