Class DeadCodeRemover

java.lang.Object
com.android.dx.ssa.DeadCodeRemover

public class DeadCodeRemover extends Object
A variation on Appel Algorithm 19.12 "Dead code elimination in SSA form". TODO this algorithm is more efficient if run in reverse from exit block to entry block.
  • Method Details

    • process

      public static void process(SsaMethod ssaMethod)
      Process a method with the dead-code remver
      Parameters:
      ssaMethod - method to process