public class ParsingHelper extends Object
| Constructor and Description |
|---|
ParsingHelper(Program aProgram,
BytecodeLocalVariableTableAttributeInfo aDebugInfo,
RegionNode aBlock,
de.mirkosertic.bytecoder.ssa.ParsingHelper.ValueProvider aValueProvider) |
| Modifier and Type | Method and Description |
|---|---|
RegionNode |
getBlock() |
Value |
getLocalVariable(int aIndex,
TypeRef aExpectedType) |
Stack<Value> |
getStack() |
int |
numberOfLocalVariables() |
Value |
peek() |
Value |
pop() |
void |
push(BytecodeOpcodeAddress aAddress,
Value aValue) |
Value |
requestValue(VariableDescription aDescription) |
void |
setLocalVariable(BytecodeOpcodeAddress aInstruction,
int aIndex,
TypeRef aType,
Value aValue) |
void |
setStackValue(int aStackPos,
Value aValue) |
public ParsingHelper(Program aProgram, BytecodeLocalVariableTableAttributeInfo aDebugInfo, RegionNode aBlock, de.mirkosertic.bytecoder.ssa.ParsingHelper.ValueProvider aValueProvider)
public RegionNode getBlock()
public int numberOfLocalVariables()
public Value pop()
public Value peek()
public void push(BytecodeOpcodeAddress aAddress, Value aValue)
public Value requestValue(VariableDescription aDescription)
public void setLocalVariable(BytecodeOpcodeAddress aInstruction, int aIndex, TypeRef aType, Value aValue)
public void setStackValue(int aStackPos,
Value aValue)
Copyright © 2020 Systemprogrammierung Mirko Sertic. All rights reserved.