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

Method keep

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

Source from the content-addressed store, hash-verified

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

Callers 15

parseBlockMethod · 0.95
parseLoopingMethod · 0.95
parseTrinaryMethod · 0.95
parseAsgnMethod · 0.95
zsMaskMethod · 0.95
functionCallMethod · 0.95
ParserMethod · 0.45
parseFunctionBodyMethod · 0.45
parseStructMethod · 0.45
opAssignMethod · 0.45
newArrayMethod · 0.45
parsePostfixMethod · 0.45

Calls 1

addUseMethod · 0.95

Tested by

no test coverage detected