Package org.jruby.ir
Class IRVisitor
java.lang.Object
org.jruby.ir.IRVisitor
- Direct Known Subclasses:
IRDumper
,JVMVisitor
Superclass for IR visitors.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
AliasInstr
(AliasInstr aliasinstr) void
void
void
ArrayDerefInstr
(ArrayDerefInstr arrayderefinstr) void
AsFixnumInstr
(AsFixnumInstr fixnum) void
AsStringInstr
(AsStringInstr asstring) void
AttrAssignInstr
(AttrAssignInstr attrassigninstr) void
BFalseInstr
(BFalseInstr bfalseinstr) void
void
void
BlockGivenCallInstr
(BlockGivenCallInstr blockgivencallinstr) void
BlockGivenInstr
(BlockGivenInstr blockgiveninstr) void
void
void
void
BoxBooleanInstr
(BoxBooleanInstr instr) void
BoxFixnumInstr
(BoxFixnumInstr instr) void
BoxFloatInstr
(BoxFloatInstr instr) void
BreakInstr
(BreakInstr breakinstr) void
BSwitchInstr
(BSwitchInstr bswitchinstr) void
BTrueInstr
(BTrueInstr btrueinstr) void
void
void
void
void
BuildLambdaInstr
(BuildLambdaInstr buildlambdainstr) void
BuildRangeInstr
(BuildRangeInstr instr) void
BuildSplatInstr
(BuildSplatInstr instr) void
BuiltinClass
(BuiltinClass builtinClass) void
BUndefInstr
(BUndefInstr bundefinstr) void
void
CheckArgsArrayArityInstr
(CheckArgsArrayArityInstr checkargsarrayarityinstr) void
CheckArityInstr
(CheckArityInstr checkarityinstr) void
CheckForLJEInstr
(CheckForLJEInstr checkforljeinstr) void
ChilledString
(ChilledString chilledString) void
ClassSuperInstr
(ClassSuperInstr classsuperinstr) void
ClosureLocalVariable
(ClosureLocalVariable closurelocalvariable) void
void
void
CurrentScope
(CurrentScope currentscope) void
DefineClassInstr
(DefineClassInstr defineclassinstr) void
DefineClassMethodInstr
(DefineClassMethodInstr defineclassmethodinstr) void
DefineInstanceMethodInstr
(DefineInstanceMethodInstr defineinstancemethodinstr) void
DefineMetaClassInstr
(DefineMetaClassInstr definemetaclassinstr) void
DefineModuleInstr
(DefineModuleInstr definemoduleinstr) void
DynamicSymbol
(DynamicSymbol dynamicsymbol) void
void
ExceptionRegionEndMarkerInstr
(ExceptionRegionEndMarkerInstr exceptionregionendmarkerinstr) void
ExceptionRegionStartMarkerInstr
(ExceptionRegionStartMarkerInstr exceptionregionstartmarkerinstr) void
void
void
void
FrameNameCallInstr
(FrameNameCallInstr framenamecallinstr) void
FrozenString
(FrozenString frozen) void
GetClassVarContainerModuleInstr
(GetClassVarContainerModuleInstr getclassvarcontainermoduleinstr) void
GetClassVariableInstr
(GetClassVariableInstr getclassvariableinstr) void
GetEncodingInstr
(GetEncodingInstr getencodinginstr) void
GetErrorInfoInstr
(GetErrorInfoInstr geterrorinfoinstr) void
GetFieldInstr
(GetFieldInstr getfieldinstr) void
GetGlobalVariableInstr
(GetGlobalVariableInstr getglobalvariableinstr) void
GlobalVariable
(GlobalVariable globalvariable) void
GVarAliasInstr
(GVarAliasInstr gvaraliasinstr) void
void
InheritanceSearchConstInstr
(InheritanceSearchConstInstr inheritancesearchconstinstr) void
InstanceSuperInstr
(InstanceSuperInstr instancesuperinstr) void
void
void
IntegerMathInstr
(IntegerMathInstr instr) void
IRException
(IRException irexception) void
void
void
LabelInstr
(LabelInstr labelinstr) void
LexicalSearchConstInstr
(LexicalSearchConstInstr lexicalsearchconstinstr) void
LineNumberInstr
(LineNumberInstr linenumberinstr) void
LoadBlockImplicitClosure
(LoadBlockImplicitClosureInstr loadblockimplicitclosureinstr) void
LoadFrameClosure
(LoadFrameClosureInstr loadframeclosureinstr) void
LoadImplicitClosure
(LoadImplicitClosureInstr loadimplicitclosureinstr) void
LoadLocalVarInstr
(LoadLocalVarInstr loadlocalvarinstr) void
LocalVariable
(LocalVariable localvariable) void
MatchInstr
(MatchInstr matchInstr) void
ModuleVersionGuardInstr
(ModuleVersionGuardInstr moduleversionguardinstr) void
MutableString
(MutableString mutablestring) void
void
NonlocalReturnInstr
(NonlocalReturnInstr nonlocalreturninstr) void
void
NoResultCallInstr
(NoResultCallInstr noresultcallinstr) void
void
void
OneFixnumArgNoBlockCallInstr
(OneFixnumArgNoBlockCallInstr oneFixnumArgNoBlockCallInstr) Deprecated.void
OneFloatArgNoBlockCallInstr
(OneFloatArgNoBlockCallInstr oneFloatArgNoBlockCallInstr) Deprecated.void
OneOperandArgNoBlockCallInstr
(OneOperandArgNoBlockCallInstr oneOperandArgNoBlockCallInstr) Deprecated.void
OptArgMultipleAsgnInstr
(OptArgMultipleAsgnInstr optargmultipleasgninstr) void
void
PopBindingInstr
(PopBindingInstr popbindinginstr) void
void
void
void
void
void
void
ProcessModuleBodyInstr
(ProcessModuleBodyInstr processmodulebodyinstr) void
void
void
void
void
void
PutClassVariableInstr
(PutClassVariableInstr putclassvariableinstr) void
PutConstInstr
(PutConstInstr putconstinstr) void
PutFieldInstr
(PutFieldInstr putfieldinstr) void
PutGlobalVarInstr
(PutGlobalVarInstr putglobalvarinstr) void
RaiseArgumentErrorInstr
(RaiseArgumentErrorInstr raiseargumenterrorinstr) void
void
void
void
ReceiveJRubyExceptionInstr
(ReceiveJRubyExceptionInstr receiveexceptioninstr) void
ReceiveKeywordArgInstr
(ReceiveKeywordArgInstr receiveKeywordArgInstr) void
ReceiveKeywordRestArgInstr
(ReceiveKeywordRestArgInstr receiveKeywordRestArgInstr) void
ReceiveKeywordsInstr
(ReceiveKeywordsInstr receiveKeywordsInstr) void
ReceiveOptArgInstr
(ReceiveOptArgInstr receiveoptarginstr) void
ReceivePostReqdArgInstr
(ReceivePostReqdArgInstr receivepostreqdarginstr) void
ReceivePreReqdArgInstr
(ReceivePreReqdArgInstr receiveprereqdarginstr) void
ReceiveRestArgInstr
(ReceiveRestArgInstr receiverestarginstr) void
ReceiveRubyExceptionInstr
(ReceiveRubyExceptionInstr receiveexceptioninstr) void
ReceiveSelfInstr
(ReceiveSelfInstr receiveselfinstr) void
RecordEndBlockInstr
(RecordEndBlockInstr recordendblockinstr) void
void
ReifyClosureInstr
(ReifyClosureInstr reifyclosureinstr) void
ReqdArgMultipleAsgnInstr
(ReqdArgMultipleAsgnInstr reqdargmultipleasgninstr) void
RescueEQQInstr
(RescueEQQInstr rescueeqqinstr) void
RestArgMultipleAsgnInstr
(RestArgMultipleAsgnInstr restargmultipleasgninstr) void
void
RestoreErrorInfoInstr
(RestoreErrorInfoInstr restoreerrorinfoinstr) void
ReturnInstr
(ReturnInstr returninstr) void
void
RuntimeHelperCall
(RuntimeHelperCall runtimehelpercall) void
void
void
ScopeModule
(ScopeModule scopemodule) void
SearchConstInstr
(SearchConstInstr searchconstinstr) void
SearchModuleForConstInstr
(SearchModuleForConstInstr searchconstinstr) void
void
void
void
StandardError
(StandardError standarderror) void
StoreLocalVarInstr
(StoreLocalVarInstr storelocalvarinstr) void
void
void
SymbolProc
(SymbolProc symbolproc) void
TemporaryBooleanVariable
(TemporaryBooleanVariable temporarybooleanvariable) void
TemporaryFixnumVariable
(TemporaryFixnumVariable temporaryfixnumvariable) void
TemporaryFloatVariable
(TemporaryFloatVariable temporaryfloatvariable) void
TemporaryIntVariable
(TemporaryIntVariable temporaryintvariable) void
TemporaryLocalVariable
(TemporaryLocalVariable temporarylocalvariable) void
TemporaryVariable
(TemporaryVariable temporaryvariable) void
ThreadPollInstr
(ThreadPollInstr threadpollinstr) void
ThrowExceptionInstr
(ThrowExceptionInstr throwexceptioninstr) void
ToAryInstr
(ToAryInstr toaryinstr) void
void
TraceInstr
(TraceInstr toaryinstr) void
void
UnboxedBoolean
(UnboxedBoolean bool) void
UnboxedFixnum
(UnboxedFixnum fixnum) void
UnboxedFloat
(UnboxedFloat flote) void
UnboxFixnumInstr
(UnboxFixnumInstr instr) void
UnboxFloatInstr
(UnboxFloatInstr instr) void
UndefinedValue
(UndefinedValue undefinedvalue) void
UndefMethodInstr
(UndefMethodInstr undefmethodinstr) void
UnexecutableNil
(UnexecutableNil unexecutablenil) void
UnresolvedSuperInstr
(UnresolvedSuperInstr unresolvedsuperinstr) void
void
void
void
WrappedIRClosure
(WrappedIRClosure wrappedirclosure) void
YieldInstr
(YieldInstr yieldinstr) void
ZeroOperandArgNoBlockCallInstr
(ZeroOperandArgNoBlockCallInstr zeroOperandArgNoBlockCallInstr) Deprecated.void
ZSuperInstr
(ZSuperInstr zsuperinstr)
-
Constructor Details
-
IRVisitor
public IRVisitor()
-
-
Method Details
-
visit
-
visit
-
AliasInstr
-
ArrayDerefInstr
-
AsFixnumInstr
-
AsStringInstr
-
AttrAssignInstr
-
BFalseInstr
-
BlockGivenInstr
-
BlockGivenCallInstr
-
BIntInstr
-
BNEInstr
-
BNilInstr
-
BreakInstr
-
BSwitchInstr
-
BTrueInstr
-
BUndefInstr
-
BuildBackrefInstr
-
BuildCompoundArrayInstr
-
BuildCompoundStringInstr
-
BuildDynRegExpInstr
-
BuildRangeInstr
-
BuildSplatInstr
-
CallInstr
-
CheckArgsArrayArityInstr
-
CheckArityInstr
-
CheckForLJEInstr
-
ClassSuperInstr
-
CopyInstr
-
DefineClassInstr
-
DefineClassMethodInstr
-
DefineInstanceMethodInstr
-
DefineMetaClassInstr
-
DefineModuleInstr
-
EQQInstr
-
ExceptionRegionEndMarkerInstr
public void ExceptionRegionEndMarkerInstr(ExceptionRegionEndMarkerInstr exceptionregionendmarkerinstr) -
ExceptionRegionStartMarkerInstr
public void ExceptionRegionStartMarkerInstr(ExceptionRegionStartMarkerInstr exceptionregionstartmarkerinstr) -
FrameNameCallInstr
-
GetClassVarContainerModuleInstr
public void GetClassVarContainerModuleInstr(GetClassVarContainerModuleInstr getclassvarcontainermoduleinstr) -
GetClassVariableInstr
-
GetFieldInstr
-
GetGlobalVariableInstr
-
GVarAliasInstr
-
InheritanceSearchConstInstr
-
InstanceSuperInstr
-
Instr
-
IntegerMathInstr
-
JumpInstr
-
LabelInstr
-
LexicalSearchConstInstr
-
LineNumberInstr
-
LoadLocalVarInstr
-
LoadImplicitClosure
-
LoadFrameClosure
-
LoadBlockImplicitClosure
-
MatchInstr
-
ModuleVersionGuardInstr
-
NonlocalReturnInstr
-
NopInstr
-
NoResultCallInstr
-
OneFixnumArgNoBlockCallInstr
@Deprecated public void OneFixnumArgNoBlockCallInstr(OneFixnumArgNoBlockCallInstr oneFixnumArgNoBlockCallInstr) Deprecated. -
OneFloatArgNoBlockCallInstr
@Deprecated public void OneFloatArgNoBlockCallInstr(OneFloatArgNoBlockCallInstr oneFloatArgNoBlockCallInstr) Deprecated. -
OneOperandArgNoBlockCallInstr
@Deprecated public void OneOperandArgNoBlockCallInstr(OneOperandArgNoBlockCallInstr oneOperandArgNoBlockCallInstr) Deprecated. -
OptArgMultipleAsgnInstr
-
PopBindingInstr
-
PopBlockFrameInstr
-
PopMethodFrameInstr
-
PopBackrefFrameInstr
-
PrepareBlockArgsInstr
-
PrepareFixedBlockArgsInstr
-
PrepareSingleBlockArgInstr
-
PrepareNoBlockArgsInstr
-
ProcessModuleBodyInstr
-
PutClassVariableInstr
-
PutConstInstr
-
PutFieldInstr
-
PutGlobalVarInstr
-
PushBlockBindingInstr
-
PushBlockFrameInstr
-
PushMethodBindingInstr
-
PushMethodFrameInstr
-
PushBackrefFrameInstr
-
RaiseArgumentErrorInstr
-
RaiseRequiredKeywordArgumentErrorInstr
-
ReifyClosureInstr
-
ReceiveRubyExceptionInstr
-
ReceiveJRubyExceptionInstr
-
ReceiveKeywordsInstr
-
ReceiveKeywordArgInstr
-
ReceiveKeywordRestArgInstr
-
ReceiveOptArgInstr
-
ReceivePreReqdArgInstr
-
ReceiveRestArgInstr
-
ReceiveSelfInstr
-
RecordEndBlockInstr
-
ReqdArgMultipleAsgnInstr
-
RescueEQQInstr
-
RestArgMultipleAsgnInstr
-
RestoreBindingVisibilityInstr
-
ReturnInstr
-
ReturnOrRethrowSavedExcInstr
-
RuntimeHelperCall
-
SaveBindingVisibilityInstr
-
SearchConstInstr
-
SearchModuleForConstInstr
-
SetCapturedVarInstr
-
StoreLocalVarInstr
-
ThreadPollInstr
-
ThrowExceptionInstr
-
ToggleBacktraceInstr
-
ToAryInstr
-
TraceInstr
-
UndefMethodInstr
-
UnresolvedSuperInstr
-
UpdateBlockExecutionStateInstr
-
YieldInstr
-
ZeroOperandArgNoBlockCallInstr
@Deprecated public void ZeroOperandArgNoBlockCallInstr(ZeroOperandArgNoBlockCallInstr zeroOperandArgNoBlockCallInstr) Deprecated. -
ZSuperInstr
-
GetErrorInfoInstr
-
RestoreErrorInfoInstr
-
BuildLambdaInstr
-
GetEncodingInstr
-
ReceivePostReqdArgInstr
-
BoxFloatInstr
-
BoxFixnumInstr
-
BoxBooleanInstr
-
AluInstr
-
UnboxFloatInstr
-
UnboxFixnumInstr
-
UnboxBooleanInstr
-
Array
-
Bignum
-
Boolean
-
BuiltinClass
-
UnboxedBoolean
-
ChilledString
-
ClosureLocalVariable
-
Complex
-
CurrentScope
-
DynamicSymbol
-
Filename
-
Fixnum
-
FrozenString
-
UnboxedFixnum
-
Float
-
UnboxedFloat
-
GlobalVariable
-
Hash
-
Integer
-
IRException
-
Label
-
LocalVariable
-
Nil
-
NthRef
-
NullBlock
-
Range
-
Rational
-
Regexp
-
Scope
-
ScopeModule
-
Self
-
Splat
-
StandardError
-
MutableString
-
SValue
-
Symbol
-
SymbolProc
-
TemporaryVariable
-
TemporaryLocalVariable
-
TemporaryFloatVariable
-
TemporaryFixnumVariable
-
TemporaryIntVariable
-
TemporaryBooleanVariable
-
UndefinedValue
-
UnexecutableNil
-
WrappedIRClosure
-