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

Method unlock

chapter20/src/main/java/com/seaofnodes/simple/node/Node.java:596–601  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

594
595 // If the _hash is set, then the Node is in the GVN table; remove it.
596 void unlock() {
597 if( _hash==0 ) return;
598 Node old = CODE._gvn.remove(this); // Pull from table
599 assert old==this;
600 _hash=0; // Out of table now
601 }
602
603
604 // Hash of opcode and inputs

Callers 8

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

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected