Top Description Fields Constructors Methods
org.jruby.ir.instructions

public abstract Class OneOperandInstr

extends Instr
Class Inheritance
Known Direct Subclasses
org.jruby.ir.instructions.PopBlockFrameInstr, org.jruby.ir.instructions.RecordEndBlockInstr, org.jruby.ir.instructions.RestoreBindingVisibilityInstr, org.jruby.ir.instructions.ReturnBase, org.jruby.ir.instructions.ThrowExceptionInstr, org.jruby.ir.instructions.TraceInstr, org.jruby.ir.instructions.UpdateBlockExecutionStateInstr, org.jruby.ir.instructions.defined.RestoreErrorInfoInstr, org.jruby.ir.instructions.BreakInstr, org.jruby.ir.instructions.CheckArgsArrayArityInstr, org.jruby.ir.instructions.CheckArityInstr, org.jruby.ir.instructions.DefineClassMethodInstr, org.jruby.ir.instructions.ExceptionRegionStartMarkerInstr, org.jruby.ir.instructions.JumpInstr, org.jruby.ir.instructions.LabelInstr
Imports
org.jruby.ir.Operation, org.jruby.ir.operands.Operand

Created by enebo on 7/27/15.

Field Summary

Modifier and TypeField and Description
private transient Operand
Inherited from org.jruby.ir.instructions.Instr:
EMPTY_OPERANDS

Constructor Summary

AccessConstructor and Description
public
OneOperandInstr(Operation operation, Operand operand1)

Method Summary

Modifier and TypeMethod and Description
public Operand
public Operand[]
public void
public void
setOperand1(Operand operand1)

Inherited from org.jruby.ir.instructions.Instr:
canBeDeletedFromScopecanRaiseExceptionclonecloneOperandscomputeScopeFlagsdumpableFieldsencodegetOperationgetUsedVariableshasSideEffectsinterpretinterpretAndGetNewIPCisDeadisDeletablemarkDeadrenameVarssimplifyInstrsimplifyOperandssimplifyOperandstoStringtoStringNonOperandArgstransfersControlvisit

Field Detail

operand1back to summary
private transient Operand operand1

Constructor Detail

OneOperandInstrback to summary
public OneOperandInstr(Operation operation, Operand operand1)

Method Detail

getOperand1back to summary
public Operand getOperand1()
getOperandsback to summary
public Operand[] getOperands()

Implements abstract org.jruby.ir.instructions.Instr.getOperands.

setOperandback to summary
public void setOperand(int i, Operand operand)

Implements abstract org.jruby.ir.instructions.Instr.setOperand.

setOperand1back to summary
public void setOperand1(Operand operand1)