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

Method keep

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

Source from the content-addressed store, hash-verified

228 // Shortcuts to stop DCE mid-parse
229 // Add bogus null use to keep node alive
230 public <N extends Node> N keep() { addUse(null); return (N)this; }
231 // Remove bogus null.
232 public <N extends Node> N unkeep() { delUse(null); return (N)this; }
233 // ------------------------------------------------------------------------

Callers 3

parseIfMethod · 0.45
deadCodeElimMethod · 0.45
mergeScopesMethod · 0.45

Calls 1

addUseMethod · 0.95

Tested by

no test coverage detected