Package org.jruby.ir.persistence
Class IRDumper
java.lang.Object
org.jruby.ir.IRVisitor
org.jruby.ir.persistence.IRDumper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
BuiltinClass
(BuiltinClass builtinClass) void
ChilledString
(ChilledString chilled) void
ClosureLocalVariable
(ClosureLocalVariable closurelocalvariable) void
void
CurrentScope
(CurrentScope currentscope) void
DynamicSymbol
(DynamicSymbol dynamicsymbol) void
void
void
void
formatInstr
(Instr instr1, String varFormat, String varSpaces, String ipcFormat, Instr instr2, int i) void
FrozenString
(FrozenString frozen) int
getLongestVariable
(int longest, ResultInstr i) void
GlobalVariable
(GlobalVariable globalvariable) void
void
void
IRException
(IRException irexception) void
void
LocalVariable
(LocalVariable localvariable) void
MutableString
(MutableString mutablestring) void
void
void
static ByteArrayOutputStream
static ByteArrayOutputStream
void
void
void
void
ScopeModule
(ScopeModule scopemodule) void
void
void
StandardError
(StandardError standarderror) 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
UnboxedBoolean
(UnboxedBoolean bool) void
UnboxedFixnum
(UnboxedFixnum fixnum) void
UnboxedFloat
(UnboxedFloat flote) void
UndefinedValue
(UndefinedValue undefinedvalue) void
UnexecutableNil
(UnexecutableNil unexecutablenil) void
void
void
void
WrappedIRClosure
(WrappedIRClosure wrappedirclosure) Methods inherited from class org.jruby.ir.IRVisitor
AliasInstr, AluInstr, ArrayDerefInstr, AsFixnumInstr, AsStringInstr, AttrAssignInstr, BFalseInstr, BIntInstr, BlockGivenCallInstr, BlockGivenInstr, BNEInstr, BNilInstr, BoxBooleanInstr, BoxFixnumInstr, BoxFloatInstr, BreakInstr, BSwitchInstr, BTrueInstr, BuildBackrefInstr, BuildCompoundArrayInstr, BuildCompoundStringInstr, BuildDynRegExpInstr, BuildLambdaInstr, BuildRangeInstr, BuildSplatInstr, BUndefInstr, CallInstr, CheckArgsArrayArityInstr, CheckArityInstr, CheckForLJEInstr, ClassSuperInstr, CopyInstr, DefineClassInstr, DefineClassMethodInstr, DefineInstanceMethodInstr, DefineMetaClassInstr, DefineModuleInstr, EQQInstr, ExceptionRegionEndMarkerInstr, ExceptionRegionStartMarkerInstr, FrameNameCallInstr, GetClassVarContainerModuleInstr, GetClassVariableInstr, GetEncodingInstr, GetErrorInfoInstr, GetFieldInstr, GetGlobalVariableInstr, GVarAliasInstr, InheritanceSearchConstInstr, InstanceSuperInstr, Instr, IntegerMathInstr, JumpInstr, LabelInstr, LexicalSearchConstInstr, LineNumberInstr, LoadBlockImplicitClosure, LoadFrameClosure, LoadImplicitClosure, LoadLocalVarInstr, MatchInstr, ModuleVersionGuardInstr, NonlocalReturnInstr, NopInstr, NoResultCallInstr, OneFixnumArgNoBlockCallInstr, OneFloatArgNoBlockCallInstr, OneOperandArgNoBlockCallInstr, OptArgMultipleAsgnInstr, PopBackrefFrameInstr, PopBindingInstr, PopBlockFrameInstr, PopMethodFrameInstr, PrepareBlockArgsInstr, PrepareFixedBlockArgsInstr, PrepareNoBlockArgsInstr, PrepareSingleBlockArgInstr, ProcessModuleBodyInstr, PushBackrefFrameInstr, PushBlockBindingInstr, PushBlockFrameInstr, PushMethodBindingInstr, PushMethodFrameInstr, PutClassVariableInstr, PutConstInstr, PutFieldInstr, PutGlobalVarInstr, RaiseArgumentErrorInstr, RaiseRequiredKeywordArgumentErrorInstr, ReceiveJRubyExceptionInstr, ReceiveKeywordArgInstr, ReceiveKeywordRestArgInstr, ReceiveKeywordsInstr, ReceiveOptArgInstr, ReceivePostReqdArgInstr, ReceivePreReqdArgInstr, ReceiveRestArgInstr, ReceiveRubyExceptionInstr, ReceiveSelfInstr, RecordEndBlockInstr, ReifyClosureInstr, ReqdArgMultipleAsgnInstr, RescueEQQInstr, RestArgMultipleAsgnInstr, RestoreBindingVisibilityInstr, RestoreErrorInfoInstr, ReturnInstr, ReturnOrRethrowSavedExcInstr, RuntimeHelperCall, SaveBindingVisibilityInstr, Scope, SearchConstInstr, SearchModuleForConstInstr, SetCapturedVarInstr, StoreLocalVarInstr, ThreadPollInstr, ThrowExceptionInstr, ToAryInstr, ToggleBacktraceInstr, TraceInstr, UnboxBooleanInstr, UnboxFixnumInstr, UnboxFloatInstr, UndefMethodInstr, UnresolvedSuperInstr, UpdateBlockExecutionStateInstr, YieldInstr, ZeroOperandArgNoBlockCallInstr, ZSuperInstr
-
Constructor Details
-
IRDumper
-
-
Method Details
-
printIR
-
printIR
-
visit
-
formatInstr
-
getLongestVariable
-
visit
-
visit
-
Array
-
Bignum
-
Boolean
-
BuiltinClass
- Overrides:
BuiltinClass
in classIRVisitor
-
UnboxedBoolean
- Overrides:
UnboxedBoolean
in classIRVisitor
-
ChilledString
- Overrides:
ChilledString
in classIRVisitor
-
ClosureLocalVariable
- Overrides:
ClosureLocalVariable
in classIRVisitor
-
CurrentScope
- Overrides:
CurrentScope
in classIRVisitor
-
Complex
-
DynamicSymbol
- Overrides:
DynamicSymbol
in classIRVisitor
-
Filename
-
Fixnum
-
FrozenString
- Overrides:
FrozenString
in classIRVisitor
-
UnboxedFixnum
- Overrides:
UnboxedFixnum
in classIRVisitor
-
Float
-
UnboxedFloat
- Overrides:
UnboxedFloat
in classIRVisitor
-
GlobalVariable
- Overrides:
GlobalVariable
in classIRVisitor
-
Hash
-
Integer
-
IRException
- Overrides:
IRException
in classIRVisitor
-
Label
-
LocalVariable
- Overrides:
LocalVariable
in classIRVisitor
-
Nil
-
NthRef
-
NullBlock
-
Rational
-
Range
-
Regexp
-
ScopeModule
- Overrides:
ScopeModule
in classIRVisitor
-
Self
-
Splat
-
StandardError
- Overrides:
StandardError
in classIRVisitor
-
MutableString
- Overrides:
MutableString
in classIRVisitor
-
SValue
-
Symbol
-
SymbolProc
- Overrides:
SymbolProc
in classIRVisitor
-
TemporaryVariable
- Overrides:
TemporaryVariable
in classIRVisitor
-
TemporaryLocalVariable
- Overrides:
TemporaryLocalVariable
in classIRVisitor
-
TemporaryFloatVariable
- Overrides:
TemporaryFloatVariable
in classIRVisitor
-
TemporaryIntVariable
- Overrides:
TemporaryIntVariable
in classIRVisitor
-
TemporaryFixnumVariable
- Overrides:
TemporaryFixnumVariable
in classIRVisitor
-
TemporaryBooleanVariable
- Overrides:
TemporaryBooleanVariable
in classIRVisitor
-
UndefinedValue
- Overrides:
UndefinedValue
in classIRVisitor
-
UnexecutableNil
- Overrides:
UnexecutableNil
in classIRVisitor
-
WrappedIRClosure
- Overrides:
WrappedIRClosure
in classIRVisitor
-