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

Method delUse

chapter24/src/main/java/com/seaofnodes/simple/node/Node.java:237–240  ·  view source on GitHub ↗
( Node use )

Source from the content-addressed store, hash-verified

235 public boolean isDead() { return isUnused() && nIns()==0 && _type==null; }
236
237 // Shortcuts to stop DCE mid-parse
238 // Add bogus null use to keep node alive
239 @SuppressWarnings("unchecked")
240 public <N extends Node> N keep() { addUse(null); return (N)this; }
241 // Remove bogus null.
242 @SuppressWarnings("unchecked")
243 public <N extends Node> N unkeep() { delUse(null); return (N)this; }

Callers 6

setDefMethod · 0.95
delDefMethod · 0.95
popUntilMethod · 0.95
unkeepMethod · 0.95
unlinkStartMethod · 0.45
killMethod · 0.45

Calls 3

delMethod · 0.45
findMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected