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

Method keep

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

Source from the content-addressed store, hash-verified

254 // Shortcuts to stop DCE mid-parse
255 // Add bogus null use to keep node alive
256 public <N extends Node> N keep() { addUse(null); return (N)this; }
257 // Remove bogus null.
258 public <N extends Node> N unkeep() { delUse(null); return (N)this; }
259 // Test "keep" status

Callers 7

parseWhileMethod · 0.95
parseIfMethod · 0.95
zsMaskMethod · 0.95
ParserMethod · 0.45
newStructMethod · 0.45
deadCodeElimMethod · 0.45
mergeScopesMethod · 0.45

Calls 1

addUseMethod · 0.95

Tested by

no test coverage detected