public class SimpleLiveLocals extends 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 |
---|---|
List<Local> |
getLiveLocalsAfter(Unit s)
Returns the list of Locals that are live after the specified Unit.
|
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.ExceptionalUnitGraph
public List<Local> getLiveLocalsAfter(Unit s)
LiveLocals
getLiveLocalsAfter
in interface LiveLocals
s
- the Unit that defines this query.public List<Local> getLiveLocalsBefore(Unit s)
LiveLocals
getLiveLocalsBefore
in interface LiveLocals
s
- the Unit that defines this query.Copyright © 2020 Sable. All rights reserved.