public class JSR extends JsrInstruction implements VariableLengthInstruction
index, position, targetlength, opcode| Constructor and Description |
|---|
JSR()
Empty constructor needed for Instruction.readInstruction.
|
JSR(InstructionHandle target) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Call corresponding visitor method(s).
|
void |
dump(java.io.DataOutputStream out)
Dump instruction as byte code to stream out.
|
protected int |
updatePosition(int offset,
int max_offset)
Called by InstructionList.setPositions when setting the position for every
instruction.
|
getType, physicalSuccessorcontainsTarget, dispose, getIndex, getPosition, getTarget, getTargetOffset, getTargetOffset, initFromFile, notifyTarget, setIndex, setPosition, setTarget, toString, updateTargetconsumeStack, copy, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, produceStack, readInstruction, setComparator, setLength, setOpcode, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitproduceStackJSR()
public JSR(InstructionHandle target)
public void dump(java.io.DataOutputStream out)
throws java.io.IOException
dump in class BranchInstructionout - Output streamjava.io.IOExceptionprotected int updatePosition(int offset,
int max_offset)
BranchInstructionupdatePosition in class BranchInstructionoffset - additional offset caused by preceding (variable length) instructionsmax_offset - the maximum offset that may be caused by these instructionspublic void accept(Visitor v)
accept in class Instructionv - Visitor object