public abstract class InstructionFactory extends Object
Constructor and Description |
---|
InstructionFactory() |
Modifier and Type | Method and Description |
---|---|
static Instruction |
createModifiedInstruction(int opcode,
Instruction original)
Copy an instruction's operands as necessary and substitute a new opcode.
|
static Instruction |
getDeferredImmediateInstruction(int opcode) |
static Instruction |
getHasnext2Instruction() |
static Instruction |
getInstruction(int opcode) |
static Instruction |
getInstruction(int opcode,
int immediate) |
static Instruction |
getInstruction(int opcode,
Object singleOperand) |
static Instruction |
getInstruction(int opcode,
Object[] operands) |
static Instruction |
getTargetableInstruction(int opcode) |
public static final Instruction getInstruction(int opcode)
public static final Instruction getInstruction(int opcode, int immediate)
public static final Instruction getDeferredImmediateInstruction(int opcode)
public static final Instruction getInstruction(int opcode, Object singleOperand)
public static final Instruction getTargetableInstruction(int opcode)
public static final Instruction getInstruction(int opcode, Object[] operands)
public static final Instruction getHasnext2Instruction()
public static final Instruction createModifiedInstruction(int opcode, Instruction original)
opcode
- - the opcode required.original
- - the original instruction.Copyright © 2016 The Apache Software Foundation. All rights reserved.