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

Method keep

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

Source from the content-addressed store, hash-verified

260 * <li>in a future chapter we will look for a
261 * <a href="https://en.wikipedia.org/wiki/Common_subexpression_elimination">Common Subexpression</a>
262 * to eliminate.</li>
263 * <li>we ask the Node for a better replacement. The "better replacement"
264 * is things like {@code (1+2)} becomes {@code 3} and {@code (1+(x+2))} becomes
265 * {@code (x+(1+2))}. By canonicalizing expressions we fold common addressing

Callers 8

parseWhileMethod · 0.95
parseIfMethod · 0.95
zsMaskMethod · 0.95
ParserMethod · 0.45
parseStructMethod · 0.45
allocMethod · 0.45
deadCodeElimMethod · 0.45
mergeScopesMethod · 0.45

Calls 1

addUseMethod · 0.95

Tested by

no test coverage detected