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

Method keep

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

Source from the content-addressed store, hash-verified

260 // Shortcuts to stop DCE mid-parse
261 // Add bogus null use to keep node alive
262 public <N extends Node> N keep() { addUse(null); return (N)this; }
263 // Remove bogus null.
264 public <N extends Node> N unkeep() { delUse(null); return (N)this; }
265 // Test "keep" status

Callers 12

parseLoopingMethod · 0.95
parseTrinaryMethod · 0.95
parsePrimaryMethod · 0.95
zsMaskMethod · 0.95
addGuardsMethod · 0.95
ParserMethod · 0.45
parseStructMethod · 0.45
newArrayMethod · 0.45
parsePostfixMethod · 0.45
deadCodeElimMethod · 0.45
dupMethod · 0.45
mergeScopesMethod · 0.45

Calls 1

addUseMethod · 0.95

Tested by

no test coverage detected