Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaOfNodes/Simple
/ isDead
Method
isDead
chapter19/src/main/java/com/seaofnodes/simple/node/Node.java:266–266 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
264
265
// Mostly used for asserts and printing.
266
public
boolean isDead() {
return
isUnused() && nIns()==0 && _type==null; }
267
268
// Shortcuts to stop DCE mid-parse
269
// Add bogus null use to keep node alive
Callers
13
iterate
Method · 0.95
_print0
Method · 0.95
kill
Method · 0.95
deadCodeElim
Method · 0.95
eval
Method · 0.45
generateDotOutput
Method · 0.45
_show
Method · 0.45
nodeEdges
Method · 0.45
addGuards
Method · 0.45
idealize
Method · 0.45
deadPath
Method · 0.45
compute
Method · 0.45
Calls
2
isUnused
Method · 0.95
nIns
Method · 0.95
Tested by
1
eval
Method · 0.36