com.android.dx.ssa
Class EscapeAnalysis

java.lang.Object
  extended by 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.


Nested Class Summary
static class EscapeAnalysis.EscapeState
          Lattice values used to indicate escape state for an object.
 
Method Summary
static void process(SsaMethod ssaMethod)
          Performs escape analysis on a method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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


Copyright © 2015. All rights reserved.