|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.arizona.cs.mbel.instructions.Instruction
edu.arizona.cs.mbel.instructions.INITOBJ
Initialize a ValueType.
Stack transition:
..., addressOfValueType --> ...
| Field Summary | |
static int |
INITOBJ
|
protected static int[] |
OPCODE_LIST
|
| Constructor Summary | |
INITOBJ(AbstractTypeReference ref)
Makes a INITOBJ object for the given ValueType |
|
INITOBJ(int opcode,
ClassParser parse)
|
|
| Method Summary | |
protected void |
emit(ByteBuffer buffer,
ClassEmitter emitter)
Writes the instruction to the given buffer in raw byte form |
boolean |
equals(java.lang.Object o)
|
int |
getLength()
Returns the length in bytes of this instruction, as would be found on disk. |
java.lang.String |
getName()
Returns the string representation of this instruction (may vary instance-to-instance) |
AbstractTypeReference |
getType()
Returns the type reference to the ValueType in this instruction |
| Methods inherited from class edu.arizona.cs.mbel.instructions.Instruction |
getOpcode, readInstruction, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int INITOBJ
protected static final int[] OPCODE_LIST
| Constructor Detail |
public INITOBJ(AbstractTypeReference ref)
throws InstructionInitException
ref - the type reference of the ValueType to initialize
public INITOBJ(int opcode,
ClassParser parse)
throws java.io.IOException,
InstructionInitException
| Method Detail |
public AbstractTypeReference getType()
public java.lang.String getName()
Instruction
getName in class Instructionpublic int getLength()
Instruction
getLength in class Instruction
protected void emit(ByteBuffer buffer,
ClassEmitter emitter)
Instruction
emit in class Instructionbuffer - the buffer to write toemitter - a ClassEmitter for reconciling references to tokenspublic boolean equals(java.lang.Object o)
equals in class Instruction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||