|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.fub.bytecode.generic.Instruction | +--de.fub.bytecode.generic.BranchInstruction | +--de.fub.bytecode.generic.GOTO
GOTO - Branch always (offset, not address)
Fields inherited from class de.fub.bytecode.generic.BranchInstruction |
index,
position,
target |
Fields inherited from class de.fub.bytecode.generic.Instruction |
length,
tag |
Constructor Summary | |
GOTO(InstructionHandle target)
|
Method Summary | |
void |
dump(java.io.DataOutputStream out)
Dump instruction as byte code to stream out. |
protected int |
updatePosition(int offset,
int max_offset)
Called in pass 2 of InstructionList.setPositions() in order to update the branch target, that may shift due to variable length instructions. |
Methods inherited from class de.fub.bytecode.generic.BranchInstruction |
containsTarget,
getTarget,
getTargetOffset,
getTargetOffset,
initFromFile,
setTarget,
toString,
updateTarget |
Methods inherited from class de.fub.bytecode.generic.Instruction |
consumeStack,
consumeStack,
copy,
getLength,
getTag,
produceStack,
produceStack,
toString,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public GOTO(InstructionHandle target)
Method Detail |
public void dump(java.io.DataOutputStream out) throws java.io.IOException
out
- Output streamprotected int updatePosition(int offset, int max_offset)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |