Disclosed is a method for eliminating dead code from a computer program
using an operands graph generated from a flow graph of a computer
program. In one embodiment of the present invention, the operands graph
is traversed for any unused operands. Upon detection of any,unused
operands, the instructions defining the unused operands are removed from
execution.