Class EscapeAnalysis

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

public class EscapeAnalysis extends Object
Simple intraprocedural escape analysis. Finds new arrays that don't escape the method they are created in and replaces the array values with registers.
  • Method Details

    • process

      public static void process(SsaMethod ssaMethod)
      Performs escape analysis on a method. Finds scalar replaceable arrays and replaces them with equivalent registers.
      Parameters:
      ssaMethod - non-null; method to process