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

Method unlock

chapter22/src/main/java/com/seaofnodes/simple/node/Node.java:599–604  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

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