MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / unlock

Method unlock

chapter21/src/main/java/com/seaofnodes/simple/node/Node.java:595–600  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

593 }
594 Node copyF() { return null; }
595
596 // ------------------------------------------------------------------------
597 // Peephole utilities
598
599 // Swap inputs without letting either input go dead during the swap.
600 public Node swap12() {
601 unlock(); // Hash is order dependent
602 _inputs.swap(1,2);
603 return this;

Callers 7

setDefMethod · 0.95
delDefMethod · 0.95
addDefMethod · 0.95
popUntilMethod · 0.95
killMethod · 0.95
subsumeMethod · 0.95
swap12Method · 0.95

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected