Dead code: Difference between revisions

Content deleted Content added
mNo edit summary
Line 19:
== Analysis ==
 
[[Dead-code elimination]] is a form of [[compiler optimization]] in which dead code is removed from a program. Dead code analysis can be performed using [[live -variable analysis]], a form of [[static program analysis|static-code analysis]] and [[data-flow analysis]]. This is in contrast to unreachable code analysis which is based on [[control flow analysis|control-flow analysis]].
 
The dead-code elimination technique is in the same class of optimizations as [[unreachable code]] elimination and [[redundant code]] elimination.