| Access | Constructor and Description |
|---|---|
| public | PlainCstInsn(Rop
non-null; the opcodenon-null; source positionnull-ok; spec for the result, if anynon-null; specs for all the sourcesnon-null; the constantConstructs an instance. |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(Insn.
non-null; the visitor to call onImplements abstract org. |
| public TypeList | getCatches()
Implements abstract org. |
| public Insn | withAddedCatch(Type
non-null; type to append to the catch listImplements abstract org. |
| public Insn | withNewRegisters(RegisterSpec
null-ok; new result registernon-null; new sources registersImplements abstract org. |
| public Insn | withRegisterOffset(int
the amount to offset register references by delta)Implements abstract org. |
| PlainCstInsn | back to summary |
|---|---|
| public PlainCstInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources, Constant cst) Constructs an instance.
| |
| accept | back to summary |
|---|---|
| public void accept(Insn. Implements abstract org. Doc from org. Calls the appropriate method on the given visitor, depending on the class of this instance. Subclasses must override this. | |
| getCatches | back to summary |
|---|---|
| public TypeList getCatches() Implements abstract org. Doc from org. Gets the list of possibly-caught exceptions. This returns | |
| withAddedCatch | back to summary |
|---|---|
| public Insn withAddedCatch(Type type) Implements abstract org. Doc from org. Returns an instance that is just like this one, except that it
has a catch list with the given item appended to the end. This
method throws an exception if this instance can't possibly
throw. To determine whether this instruction can throw, use
| |
| withNewRegisters | back to summary |
|---|---|
| public Insn withNewRegisters(RegisterSpec result, RegisterSpecList sources) Implements abstract org. Doc from org. Returns an instance that is just like this one, except with new result and source registers.
| |
| withRegisterOffset | back to summary |
|---|---|
| public Insn withRegisterOffset(int delta) Implements abstract org. Doc from org. Returns an instance that is just like this one, except that all register references have been offset by the given delta. | |