Package proguard.dexfile.ir.ts.an
Class SimpleLiveAnalyze
- java.lang.Object
-
- proguard.dexfile.ir.ts.an.BaseAnalyze<SimpleLiveValue>
-
- proguard.dexfile.ir.ts.an.SimpleLiveAnalyze
-
- All Implemented Interfaces:
Cfg.FrameVisitor<SimpleLiveValue[]>
,Cfg.OnAssignCallBack
,Cfg.OnUseCallBack
,Cfg.TravelCallBack
public class SimpleLiveAnalyze extends BaseAnalyze<SimpleLiveValue>
-
-
Field Summary
-
Fields inherited from class proguard.dexfile.ir.ts.an.BaseAnalyze
aValues, DEBUG, localSize, method
-
-
Constructor Summary
Constructors Constructor Description SimpleLiveAnalyze(IrMethod method, boolean reindexLocal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
analyzeValue()
int
getLocalSize()
protected java.util.Set<SimpleLiveValue>
markUsed()
SimpleLiveValue[]
merge(SimpleLiveValue[] srcFrame, SimpleLiveValue[] distFrame, Stmt src, Stmt dist)
protected SimpleLiveValue[]
newFrame(int size)
protected SimpleLiveValue
newValue()
protected SimpleLiveValue
onAssignLocal(Local local, Value value)
protected void
onUseLocal(SimpleLiveValue aValue, Local local)
-
Methods inherited from class proguard.dexfile.ir.ts.an.BaseAnalyze
afterExec, analyze, analyze0, exec, getFrame, getFromFrame, init, initCFG, initFirstFrame, newFrame, onAssign, onUse, setFrame, toString
-
-
-
-
Constructor Detail
-
SimpleLiveAnalyze
public SimpleLiveAnalyze(IrMethod method, boolean reindexLocal)
-
-
Method Detail
-
markUsed
protected java.util.Set<SimpleLiveValue> markUsed()
-
analyzeValue
protected void analyzeValue()
- Overrides:
analyzeValue
in classBaseAnalyze<SimpleLiveValue>
-
getLocalSize
public int getLocalSize()
-
onAssignLocal
protected SimpleLiveValue onAssignLocal(Local local, Value value)
- Overrides:
onAssignLocal
in classBaseAnalyze<SimpleLiveValue>
-
onUseLocal
protected void onUseLocal(SimpleLiveValue aValue, Local local)
- Overrides:
onUseLocal
in classBaseAnalyze<SimpleLiveValue>
-
merge
public SimpleLiveValue[] merge(SimpleLiveValue[] srcFrame, SimpleLiveValue[] distFrame, Stmt src, Stmt dist)
-
newFrame
protected SimpleLiveValue[] newFrame(int size)
- Specified by:
newFrame
in classBaseAnalyze<SimpleLiveValue>
-
newValue
protected SimpleLiveValue newValue()
- Specified by:
newValue
in classBaseAnalyze<SimpleLiveValue>
-
-