public class DebugInfoBuilder extends Object
LIRFrameState
s from FrameState
s.Modifier and Type | Field and Description |
---|---|
protected NodeValueMap |
nodeValueMap |
protected Map<VirtualObjectNode,EscapeObjectState> |
objectStates |
private static DebugMetric |
STATE_CONSTANTS |
private static DebugMetric |
STATE_ILLEGALS |
private static DebugMetric |
STATE_VARIABLES |
private static DebugMetric |
STATE_VIRTUAL_OBJECTS |
protected Map<VirtualObjectNode,VirtualObject> |
virtualObjects |
Constructor and Description |
---|
DebugInfoBuilder(NodeValueMap nodeValueMap) |
Modifier and Type | Method and Description |
---|---|
LIRFrameState |
build(FrameState topState,
LabelRef exceptionEdge) |
protected BytecodeFrame |
computeFrameForState(FrameState state) |
protected void |
computeLocals(FrameState state,
int numLocals,
Value[] values) |
protected Value |
computeLocalValue(FrameState state,
int i) |
protected void |
computeLocks(FrameState state,
Value[] values) |
protected Value |
computeLockValue(FrameState state,
int i) |
protected void |
computeStack(FrameState state,
int numLocals,
int numStack,
Value[] values) |
protected Value |
computeStackValue(FrameState state,
int i) |
protected LIRFrameState |
newLIRFrameState(LabelRef exceptionEdge,
BytecodeFrame frame,
VirtualObject[] virtualObjectsArray) |
protected Value |
toValue(ValueNode value) |
protected final NodeValueMap nodeValueMap
protected final Map<VirtualObjectNode,VirtualObject> virtualObjects
protected final Map<VirtualObjectNode,EscapeObjectState> objectStates
private static final DebugMetric STATE_VIRTUAL_OBJECTS
private static final DebugMetric STATE_ILLEGALS
private static final DebugMetric STATE_VARIABLES
private static final DebugMetric STATE_CONSTANTS
public DebugInfoBuilder(NodeValueMap nodeValueMap)
public LIRFrameState build(FrameState topState, LabelRef exceptionEdge)
protected LIRFrameState newLIRFrameState(LabelRef exceptionEdge, BytecodeFrame frame, VirtualObject[] virtualObjectsArray)
protected BytecodeFrame computeFrameForState(FrameState state)
protected void computeLocals(FrameState state, int numLocals, Value[] values)
protected Value computeLocalValue(FrameState state, int i)
protected void computeStack(FrameState state, int numLocals, int numStack, Value[] values)
protected Value computeStackValue(FrameState state, int i)
protected void computeLocks(FrameState state, Value[] values)
protected Value computeLockValue(FrameState state, int i)