public class BasicContextSensitivityStrategy extends java.lang.Object implements IContextSensitivityStrategy
| Constructor and Description |
|---|
BasicContextSensitivityStrategy() |
| Modifier and Type | Method and Description |
|---|---|
HeapContext |
makeActivationAndArgumentsHeapContext(State state,
ObjectLabel function,
Value thisval,
FunctionCalls.CallInfo callInfo,
GenericSolver.SolverInterface c)
Constructs a heap context for objects related to a call.
|
HeapContext |
makeConstructorHeapContext(State state,
ObjectLabel function,
FunctionCalls.CallInfo callInfo,
GenericSolver.SolverInterface c)
Constructs a heap context for an object created at 'new'.
|
Context |
makeForInEntryContext(Context currentContext,
BeginForInNode n,
Value v)
Constructs a context for entering a for-in body.
|
Context |
makeFunctionEntryContext(State state,
ObjectLabel function,
FunctionCalls.CallInfo callInfo,
Value thisval,
GenericSolver.SolverInterface c)
Constructs a context for call.
|
HeapContext |
makeFunctionHeapContext(Function fun,
GenericSolver.SolverInterface c)
Constructs a heap context for a function object.
|
Context |
makeInitialContext()
Constructs the initial context.
|
Context |
makeLoopExitContext(Context currentContext,
EndLoopNode node)
Constructs a context for leaving a loop.
|
Context |
makeNextLoopUnrollingContext(Context currentContext,
BeginLoopNode node)
Constructs a context for (re-)entering a loop.
|
HeapContext |
makeObjectLiteralHeapContext(AbstractNode node,
State state)
Constructs a heap context for an object literal.
|
void |
requestContextSensitiveParameter(Function function,
java.lang.String parameter)
Requests that a parameter is treated context sensitively.
|
public HeapContext makeActivationAndArgumentsHeapContext(State state, ObjectLabel function, Value thisval, FunctionCalls.CallInfo callInfo, GenericSolver.SolverInterface c)
IContextSensitivityStrategymakeActivationAndArgumentsHeapContext in interface IContextSensitivityStrategypublic HeapContext makeConstructorHeapContext(State state, ObjectLabel function, FunctionCalls.CallInfo callInfo, GenericSolver.SolverInterface c)
IContextSensitivityStrategymakeConstructorHeapContext in interface IContextSensitivityStrategypublic Context makeForInEntryContext(Context currentContext, BeginForInNode n, Value v)
IContextSensitivityStrategymakeForInEntryContext in interface IContextSensitivityStrategypublic Context makeFunctionEntryContext(State state, ObjectLabel function, FunctionCalls.CallInfo callInfo, Value thisval, GenericSolver.SolverInterface c)
IContextSensitivityStrategymakeFunctionEntryContext in interface IContextSensitivityStrategypublic HeapContext makeFunctionHeapContext(Function fun, GenericSolver.SolverInterface c)
IContextSensitivityStrategymakeFunctionHeapContext in interface IContextSensitivityStrategypublic Context makeInitialContext()
IContextSensitivityStrategymakeInitialContext in interface IContextSensitivityStrategypublic Context makeLoopExitContext(Context currentContext, EndLoopNode node)
IContextSensitivityStrategymakeLoopExitContext in interface IContextSensitivityStrategypublic Context makeNextLoopUnrollingContext(Context currentContext, BeginLoopNode node)
IContextSensitivityStrategymakeNextLoopUnrollingContext in interface IContextSensitivityStrategypublic HeapContext makeObjectLiteralHeapContext(AbstractNode node, State state)
IContextSensitivityStrategymakeObjectLiteralHeapContext in interface IContextSensitivityStrategypublic void requestContextSensitiveParameter(Function function, java.lang.String parameter)
IContextSensitivityStrategyrequestContextSensitiveParameter in interface IContextSensitivityStrategyCopyright © 2009-2019 Aarhus University