public class CallDependencies<CallContextType extends ICallContext<CallContextType>> extends Object
| Constructor and Description |
|---|
CallDependencies() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertEmpty()
Checks whether all functions are inactive.
|
void |
chargeCallEdge(AbstractNode caller,
CallContextType caller_context,
Function callee,
CallContextType callee_context)
Records a call edge that awaits return flow.
|
void |
decrementFunctionActivityLevel(Function f,
CallContextType c)
Decrements the function activity level for the given function and context.
|
void |
dischargeCallEdge(AbstractNode caller,
CallContextType caller_context,
Function callee,
CallContextType callee_context)
Discharges return flow for a call edge.
|
void |
incrementFunctionActivityLevel(Function f,
CallContextType c)
Increments the function activity level for the given function and context.
|
boolean |
isCallEdgeCharged(AbstractNode caller,
CallContextType caller_context,
Function callee,
CallContextType callee_context)
Checks whether the given edge is charged.
|
boolean |
isFunctionActive(Function f,
CallContextType c)
Checks whether the given function and context pair is active,
i.e.
|
public void assertEmpty()
AnalysisException - if not all functions are not inactivepublic void chargeCallEdge(AbstractNode caller, CallContextType caller_context, Function callee, CallContextType callee_context)
public void decrementFunctionActivityLevel(Function f, CallContextType c)
public void dischargeCallEdge(AbstractNode caller, CallContextType caller_context, Function callee, CallContextType callee_context)
public void incrementFunctionActivityLevel(Function f, CallContextType c)
public boolean isCallEdgeCharged(AbstractNode caller, CallContextType caller_context, Function callee, CallContextType callee_context)
public boolean isFunctionActive(Function f, CallContextType c)
Copyright © 2012 Aarhus University