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

Method nOuts

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

Source from the content-addressed store, hash-verified

120 * Kill a Node with no <em>uses</em>, by setting all of its <em>defs</em>
121 * to null. This may recursively kill more Nodes and is basically dead
122 * code elimination. This function is co-recursive with {@link #setDef}.
123 */
124 public void kill( ) {
125 assert isUnused(); // Has no uses, so it is dead

Callers 1

isUnusedMethod · 0.95

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected