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

Method print

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

Source from the content-addressed store, hash-verified

95 * @param new_def the new definition
96 * @return new_def for flow coding
97 */
98 Node setDef(int idx, Node new_def ) {
99 Node old_def = in(idx);
100 if( old_def == new_def ) return this; // No change
101 // If new def is not null, add the corresponding def->use edge
102 // This needs to happen before removing the old node's def->use edge as

Callers 2

toStringMethod · 0.95
_print1Method · 0.45

Calls 2

_print0Method · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected