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

Method keep

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

Source from the content-addressed store, hash-verified

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

Callers 9

parseWhileMethod · 0.95
parseIfMethod · 0.95
parsePostfixMethod · 0.95
zsMaskMethod · 0.95
ParserMethod · 0.45
parsePrimaryMethod · 0.45
peepholeMethod · 0.45
deadCodeElimMethod · 0.45
mergeScopesMethod · 0.45

Calls 1

addUseMethod · 0.95

Tested by

no test coverage detected