Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaOfNodes/Simple
/ isCFG
Method
isCFG
chapter02/src/main/java/com/seaofnodes/simple/node/Node.java:126–126 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
124
public
void
kill( ) {
125
assert isUnused();
// Has no uses, so it is dead
126
for
(
int
i=0; i<nIns(); i++ )
127
setDef(i,null);
// Set all inputs to null, recursively killing unused Nodes
128
_inputs.clear();
129
_type=null;
// Flag as dead
Callers
2
nodes
Method · 0.45
nodeEdges
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected