Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaOfNodes/Simple
/ isDead
Method
isDead
chapter14/src/main/java/com/seaofnodes/simple/node/Node.java:252–252 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
250
251
// Mostly used for asserts and printing.
252
public
boolean isDead() {
return
isUnused() && nIns()==0 && _type==null; }
253
254
// Shortcuts to stop DCE mid-parse
255
// Add bogus null use to keep node alive
Callers
6
iterate
Method · 0.95
_print0
Method · 0.95
kill
Method · 0.95
deadCodeElim
Method · 0.95
generateDotOutput
Method · 0.45
idealize
Method · 0.45
Calls
2
isUnused
Method · 0.95
nIns
Method · 0.95
Tested by
no test coverage detected