Package org.jruby.ir

Class IRVisitor

java.lang.Object
org.jruby.ir.IRVisitor
Direct Known Subclasses:
IRDumper, JVMVisitor

public abstract class IRVisitor extends Object
Superclass for IR visitors.
  • Constructor Details

    • IRVisitor

      public IRVisitor()
  • Method Details

    • visit

      public void visit(Instr instr)
    • visit

      public void visit(Operand operand)
    • AliasInstr

      public void AliasInstr(AliasInstr aliasinstr)
    • ArrayDerefInstr

      public void ArrayDerefInstr(ArrayDerefInstr arrayderefinstr)
    • AsFixnumInstr

      public void AsFixnumInstr(AsFixnumInstr fixnum)
    • AsStringInstr

      public void AsStringInstr(AsStringInstr asstring)
    • AttrAssignInstr

      public void AttrAssignInstr(AttrAssignInstr attrassigninstr)
    • BFalseInstr

      public void BFalseInstr(BFalseInstr bfalseinstr)
    • BlockGivenInstr

      public void BlockGivenInstr(BlockGivenInstr blockgiveninstr)
    • BlockGivenCallInstr

      public void BlockGivenCallInstr(BlockGivenCallInstr blockgivencallinstr)
    • BIntInstr

      public void BIntInstr(BIntInstr bIntInstr)
    • BNEInstr

      public void BNEInstr(BNEInstr bneinstr)
    • BNilInstr

      public void BNilInstr(BNilInstr bnilinstr)
    • BreakInstr

      public void BreakInstr(BreakInstr breakinstr)
    • BSwitchInstr

      public void BSwitchInstr(BSwitchInstr bswitchinstr)
    • BTrueInstr

      public void BTrueInstr(BTrueInstr btrueinstr)
    • BUndefInstr

      public void BUndefInstr(BUndefInstr bundefinstr)
    • BuildBackrefInstr

      public void BuildBackrefInstr(BuildBackrefInstr instr)
    • BuildCompoundArrayInstr

      public void BuildCompoundArrayInstr(BuildCompoundArrayInstr instr)
    • BuildCompoundStringInstr

      public void BuildCompoundStringInstr(BuildCompoundStringInstr instr)
    • BuildDynRegExpInstr

      public void BuildDynRegExpInstr(BuildDynRegExpInstr instr)
    • BuildNthRefInstr

      public void BuildNthRefInstr(BuildNthRefInstr instr)
    • BuildRangeInstr

      public void BuildRangeInstr(BuildRangeInstr instr)
    • BuildSplatInstr

      public void BuildSplatInstr(BuildSplatInstr instr)
    • CallInstr

      public void CallInstr(CallInstr callinstr)
    • CheckArgsArrayArityInstr

      public void CheckArgsArrayArityInstr(CheckArgsArrayArityInstr checkargsarrayarityinstr)
    • CheckArityInstr

      public void CheckArityInstr(CheckArityInstr checkarityinstr)
    • CheckForLJEInstr

      public void CheckForLJEInstr(CheckForLJEInstr checkforljeinstr)
    • ClassSuperInstr

      public void ClassSuperInstr(ClassSuperInstr classsuperinstr)
    • CopyInstr

      public void CopyInstr(CopyInstr copyinstr)
    • DefineClassInstr

      public void DefineClassInstr(DefineClassInstr defineclassinstr)
    • DefineClassMethodInstr

      public void DefineClassMethodInstr(DefineClassMethodInstr defineclassmethodinstr)
    • DefineInstanceMethodInstr

      public void DefineInstanceMethodInstr(DefineInstanceMethodInstr defineinstancemethodinstr)
    • DefineMetaClassInstr

      public void DefineMetaClassInstr(DefineMetaClassInstr definemetaclassinstr)
    • DefineModuleInstr

      public void DefineModuleInstr(DefineModuleInstr definemoduleinstr)
    • EQQInstr

      public void EQQInstr(EQQInstr eqqinstr)
    • ExceptionRegionEndMarkerInstr

      public void ExceptionRegionEndMarkerInstr(ExceptionRegionEndMarkerInstr exceptionregionendmarkerinstr)
    • ExceptionRegionStartMarkerInstr

      public void ExceptionRegionStartMarkerInstr(ExceptionRegionStartMarkerInstr exceptionregionstartmarkerinstr)
    • FrameNameCallInstr

      public void FrameNameCallInstr(FrameNameCallInstr framenamecallinstr)
    • GetClassVarContainerModuleInstr

      public void GetClassVarContainerModuleInstr(GetClassVarContainerModuleInstr getclassvarcontainermoduleinstr)
    • GetClassVariableInstr

      public void GetClassVariableInstr(GetClassVariableInstr getclassvariableinstr)
    • GetFieldInstr

      public void GetFieldInstr(GetFieldInstr getfieldinstr)
    • GetGlobalVariableInstr

      public void GetGlobalVariableInstr(GetGlobalVariableInstr getglobalvariableinstr)
    • GVarAliasInstr

      public void GVarAliasInstr(GVarAliasInstr gvaraliasinstr)
    • InheritanceSearchConstInstr

      public void InheritanceSearchConstInstr(InheritanceSearchConstInstr inheritancesearchconstinstr)
    • InstanceSuperInstr

      public void InstanceSuperInstr(InstanceSuperInstr instancesuperinstr)
    • Instr

      public void Instr(Instr instr)
    • IntegerMathInstr

      public void IntegerMathInstr(IntegerMathInstr instr)
    • JumpInstr

      public void JumpInstr(JumpInstr jumpinstr)
    • LabelInstr

      public void LabelInstr(LabelInstr labelinstr)
    • LexicalSearchConstInstr

      public void LexicalSearchConstInstr(LexicalSearchConstInstr lexicalsearchconstinstr)
    • LineNumberInstr

      public void LineNumberInstr(LineNumberInstr linenumberinstr)
    • LoadLocalVarInstr

      public void LoadLocalVarInstr(LoadLocalVarInstr loadlocalvarinstr)
    • LoadImplicitClosure

      public void LoadImplicitClosure(LoadImplicitClosureInstr loadimplicitclosureinstr)
    • LoadFrameClosure

      public void LoadFrameClosure(LoadFrameClosureInstr loadframeclosureinstr)
    • LoadBlockImplicitClosure

      public void LoadBlockImplicitClosure(LoadBlockImplicitClosureInstr loadblockimplicitclosureinstr)
    • MatchInstr

      public void MatchInstr(MatchInstr matchInstr)
    • ModuleVersionGuardInstr

      public void ModuleVersionGuardInstr(ModuleVersionGuardInstr moduleversionguardinstr)
    • NonlocalReturnInstr

      public void NonlocalReturnInstr(NonlocalReturnInstr nonlocalreturninstr)
    • NopInstr

      public void NopInstr(NopInstr nopinstr)
    • NoResultCallInstr

      public void NoResultCallInstr(NoResultCallInstr noresultcallinstr)
    • OptArgMultipleAsgnInstr

      public void OptArgMultipleAsgnInstr(OptArgMultipleAsgnInstr optargmultipleasgninstr)
    • PopBindingInstr

      public void PopBindingInstr(PopBindingInstr popbindinginstr)
    • PopBlockFrameInstr

      public void PopBlockFrameInstr(PopBlockFrameInstr instr)
    • PopMethodFrameInstr

      public void PopMethodFrameInstr(PopMethodFrameInstr instr)
    • PopBackrefFrameInstr

      public void PopBackrefFrameInstr(PopBackrefFrameInstr instr)
    • PrepareBlockArgsInstr

      public void PrepareBlockArgsInstr(PrepareBlockArgsInstr instr)
    • PrepareFixedBlockArgsInstr

      public void PrepareFixedBlockArgsInstr(PrepareFixedBlockArgsInstr instr)
    • PrepareSingleBlockArgInstr

      public void PrepareSingleBlockArgInstr(PrepareSingleBlockArgInstr instr)
    • PrepareNoBlockArgsInstr

      public void PrepareNoBlockArgsInstr(PrepareNoBlockArgsInstr instr)
    • ProcessModuleBodyInstr

      public void ProcessModuleBodyInstr(ProcessModuleBodyInstr processmodulebodyinstr)
    • PutClassVariableInstr

      public void PutClassVariableInstr(PutClassVariableInstr putclassvariableinstr)
    • PutConstInstr

      public void PutConstInstr(PutConstInstr putconstinstr)
    • PutFieldInstr

      public void PutFieldInstr(PutFieldInstr putfieldinstr)
    • PutGlobalVarInstr

      public void PutGlobalVarInstr(PutGlobalVarInstr putglobalvarinstr)
    • PushBlockBindingInstr

      public void PushBlockBindingInstr(PushBlockBindingInstr instr)
    • PushBlockFrameInstr

      public void PushBlockFrameInstr(PushBlockFrameInstr instr)
    • PushMethodBindingInstr

      public void PushMethodBindingInstr(PushMethodBindingInstr instr)
    • PushMethodFrameInstr

      public void PushMethodFrameInstr(PushMethodFrameInstr instr)
    • PushBackrefFrameInstr

      public void PushBackrefFrameInstr(PushBackrefFrameInstr instr)
    • RaiseArgumentErrorInstr

      public void RaiseArgumentErrorInstr(RaiseArgumentErrorInstr raiseargumenterrorinstr)
    • RaiseRequiredKeywordArgumentErrorInstr

      public void RaiseRequiredKeywordArgumentErrorInstr(RaiseRequiredKeywordArgumentError instr)
    • ReifyClosureInstr

      public void ReifyClosureInstr(ReifyClosureInstr reifyclosureinstr)
    • ReceiveRubyExceptionInstr

      public void ReceiveRubyExceptionInstr(ReceiveRubyExceptionInstr receiveexceptioninstr)
    • ReceiveJRubyExceptionInstr

      public void ReceiveJRubyExceptionInstr(ReceiveJRubyExceptionInstr receiveexceptioninstr)
    • ReceiveKeywordsInstr

      public void ReceiveKeywordsInstr(ReceiveKeywordsInstr receiveKeywordsInstr)
    • ReceiveKeywordArgInstr

      public void ReceiveKeywordArgInstr(ReceiveKeywordArgInstr receiveKeywordArgInstr)
    • ReceiveKeywordRestArgInstr

      public void ReceiveKeywordRestArgInstr(ReceiveKeywordRestArgInstr receiveKeywordRestArgInstr)
    • ReceiveOptArgInstr

      public void ReceiveOptArgInstr(ReceiveOptArgInstr receiveoptarginstr)
    • ReceivePreReqdArgInstr

      public void ReceivePreReqdArgInstr(ReceivePreReqdArgInstr receiveprereqdarginstr)
    • ReceiveRestArgInstr

      public void ReceiveRestArgInstr(ReceiveRestArgInstr receiverestarginstr)
    • ReceiveSelfInstr

      public void ReceiveSelfInstr(ReceiveSelfInstr receiveselfinstr)
    • RecordEndBlockInstr

      public void RecordEndBlockInstr(RecordEndBlockInstr recordendblockinstr)
    • ReqdArgMultipleAsgnInstr

      public void ReqdArgMultipleAsgnInstr(ReqdArgMultipleAsgnInstr reqdargmultipleasgninstr)
    • RescueEQQInstr

      public void RescueEQQInstr(RescueEQQInstr rescueeqqinstr)
    • RestArgMultipleAsgnInstr

      public void RestArgMultipleAsgnInstr(RestArgMultipleAsgnInstr restargmultipleasgninstr)
    • RestoreBindingVisibilityInstr

      public void RestoreBindingVisibilityInstr(RestoreBindingVisibilityInstr instr)
    • ReturnInstr

      public void ReturnInstr(ReturnInstr returninstr)
    • ReturnOrRethrowSavedExcInstr

      public void ReturnOrRethrowSavedExcInstr(ReturnOrRethrowSavedExcInstr instr)
    • RuntimeHelperCall

      public void RuntimeHelperCall(RuntimeHelperCall runtimehelpercall)
    • SaveBindingVisibilityInstr

      public void SaveBindingVisibilityInstr(SaveBindingVisibilityInstr instr)
    • SearchConstInstr

      public void SearchConstInstr(SearchConstInstr searchconstinstr)
    • SearchModuleForConstInstr

      public void SearchModuleForConstInstr(SearchModuleForConstInstr searchconstinstr)
    • SetCapturedVarInstr

      public void SetCapturedVarInstr(SetCapturedVarInstr instr)
    • StoreLocalVarInstr

      public void StoreLocalVarInstr(StoreLocalVarInstr storelocalvarinstr)
    • ThreadPollInstr

      public void ThreadPollInstr(ThreadPollInstr threadpollinstr)
    • ThrowExceptionInstr

      public void ThrowExceptionInstr(ThrowExceptionInstr throwexceptioninstr)
    • ToggleBacktraceInstr

      public void ToggleBacktraceInstr(ToggleBacktraceInstr instr)
    • ToAryInstr

      public void ToAryInstr(ToAryInstr toaryinstr)
    • TraceInstr

      public void TraceInstr(TraceInstr toaryinstr)
    • UndefMethodInstr

      public void UndefMethodInstr(UndefMethodInstr undefmethodinstr)
    • UnresolvedSuperInstr

      public void UnresolvedSuperInstr(UnresolvedSuperInstr unresolvedsuperinstr)
    • UpdateBlockExecutionStateInstr

      public void UpdateBlockExecutionStateInstr(UpdateBlockExecutionStateInstr instr)
    • YieldInstr

      public void YieldInstr(YieldInstr yieldinstr)
    • ZSuperInstr

      public void ZSuperInstr(ZSuperInstr zsuperinstr)
    • GetErrorInfoInstr

      public void GetErrorInfoInstr(GetErrorInfoInstr geterrorinfoinstr)
    • RestoreErrorInfoInstr

      public void RestoreErrorInfoInstr(RestoreErrorInfoInstr restoreerrorinfoinstr)
    • BuildLambdaInstr

      public void BuildLambdaInstr(BuildLambdaInstr buildlambdainstr)
    • GetEncodingInstr

      public void GetEncodingInstr(GetEncodingInstr getencodinginstr)
    • ReceivePostReqdArgInstr

      public void ReceivePostReqdArgInstr(ReceivePostReqdArgInstr receivepostreqdarginstr)
    • BoxFloatInstr

      public void BoxFloatInstr(BoxFloatInstr instr)
    • BoxFixnumInstr

      public void BoxFixnumInstr(BoxFixnumInstr instr)
    • BoxBooleanInstr

      public void BoxBooleanInstr(BoxBooleanInstr instr)
    • AluInstr

      public void AluInstr(AluInstr instr)
    • UnboxFloatInstr

      public void UnboxFloatInstr(UnboxFloatInstr instr)
    • UnboxFixnumInstr

      public void UnboxFixnumInstr(UnboxFixnumInstr instr)
    • UnboxBooleanInstr

      public void UnboxBooleanInstr(UnboxBooleanInstr instr)
    • Array

      public void Array(Array array)
    • Bignum

      public void Bignum(Bignum bignum)
    • Boolean

      public void Boolean(Boolean bool)
    • BuiltinClass

      public void BuiltinClass(BuiltinClass builtinClass)
    • UnboxedBoolean

      public void UnboxedBoolean(UnboxedBoolean bool)
    • ChilledString

      public void ChilledString(ChilledString chilledString)
    • ClosureLocalVariable

      public void ClosureLocalVariable(ClosureLocalVariable closurelocalvariable)
    • Complex

      public void Complex(Complex complex)
    • CurrentScope

      public void CurrentScope(CurrentScope currentscope)
    • DynamicSymbol

      public void DynamicSymbol(DynamicSymbol dynamicsymbol)
    • Filename

      public void Filename(Filename filename)
    • Fixnum

      public void Fixnum(Fixnum fixnum)
    • FrozenString

      public void FrozenString(FrozenString frozen)
    • UnboxedFixnum

      public void UnboxedFixnum(UnboxedFixnum fixnum)
    • Float

      public void Float(Float flote)
    • UnboxedFloat

      public void UnboxedFloat(UnboxedFloat flote)
    • GlobalVariable

      public void GlobalVariable(GlobalVariable globalvariable)
    • Hash

      public void Hash(Hash hash)
    • Integer

      public void Integer(Integer integer)
    • IRException

      public void IRException(IRException irexception)
    • Label

      public void Label(Label label)
    • LocalVariable

      public void LocalVariable(LocalVariable localvariable)
    • Nil

      public void Nil(Nil nil)
    • NullBlock

      public void NullBlock(NullBlock nullblock)
    • Range

      public void Range(Range range)
    • Rational

      public void Rational(Rational rational)
    • Regexp

      public void Regexp(Regexp regexp)
    • Scope

      public void Scope(Scope scope)
    • ScopeModule

      public void ScopeModule(ScopeModule scopemodule)
    • Self

      public void Self(Self self)
    • Splat

      public void Splat(Splat splat)
    • StandardError

      public void StandardError(StandardError standarderror)
    • MutableString

      public void MutableString(MutableString mutablestring)
    • SValue

      public void SValue(SValue svalue)
    • Symbol

      public void Symbol(Symbol symbol)
    • SymbolProc

      public void SymbolProc(SymbolProc symbolproc)
    • TemporaryVariable

      public void TemporaryVariable(TemporaryVariable temporaryvariable)
    • TemporaryLocalVariable

      public void TemporaryLocalVariable(TemporaryLocalVariable temporarylocalvariable)
    • TemporaryFloatVariable

      public void TemporaryFloatVariable(TemporaryFloatVariable temporaryfloatvariable)
    • TemporaryFixnumVariable

      public void TemporaryFixnumVariable(TemporaryFixnumVariable temporaryfixnumvariable)
    • TemporaryIntVariable

      public void TemporaryIntVariable(TemporaryIntVariable temporaryintvariable)
    • TemporaryBooleanVariable

      public void TemporaryBooleanVariable(TemporaryBooleanVariable temporarybooleanvariable)
    • UndefinedValue

      public void UndefinedValue(UndefinedValue undefinedvalue)
    • UnexecutableNil

      public void UnexecutableNil(UnexecutableNil unexecutablenil)
    • WrappedIRClosure

      public void WrappedIRClosure(WrappedIRClosure wrappedirclosure)