public class SimpleLiveLocals extends java.lang.Object implements LiveLocals
LiveLocals.Factory| Constructor and Description |
|---|
SimpleLiveLocals(UnitGraph graph)
Computes the analysis given a UnitGraph computed from a method body.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Local> |
getLiveLocalsAfter(Unit s)
Returns the list of Locals that are live after the specified
Unit.
|
java.util.List<Local> |
getLiveLocalsBefore(Unit s)
Returns the list of Locals that are live before the specified
Unit.
|
public SimpleLiveLocals(UnitGraph graph)
graph - a graph on which to compute the analysis.ExceptionalUnitGraphpublic java.util.List<Local> getLiveLocalsAfter(Unit s)
LiveLocalsgetLiveLocalsAfter in interface LiveLocalss - the Unit that defines this query.public java.util.List<Local> getLiveLocalsBefore(Unit s)
LiveLocalsgetLiveLocalsBefore in interface LiveLocalss - the Unit that defines this query.