| Modifier and Type | Field and Description |
|---|---|
| private final IRBytecodeAdapter | |
| private final InvocationCompiler |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | asString(AsStringInstr call, String scopeFieldName, String file)
Implements org. Coerces the receiver to a String using to_s, unless it is already a String Stack required: context, caller, receiver |
| public static String | |
| public void | invokeArrayDeref(String file, String scopeFieldName, CallBase call)
Implements org. Invoke the array dereferencing method ([]) on an object other than self. |
| public void | invokeBlockGiven(String methodName, String file)
Implements org. Invoke block_given? |
| public static void | |
| public void | invokeClassSuper(String
the filename of the script making this call file, String name of the method to invoke name, int arity of the arguments on the stack arity, boolean whether a block is passed hasClosure, boolean whether the block passed is a literal closure literalClosure, boolean[] a map of arguments to be splatted back into arg list splatmap, int flags)Implements org. Invoke a superclass method from a class context. |
| public void | invokeEQQ(EQQInstr call)
Implements org. Perform a === call appropriate for a case/when statement. |
| public void | invokeFrameName(String methodName, String file)
Implements org. Invoke __method__ or __callee__ with awareness of any built-in methods. |
| public static void | |
| public void | invokeInstanceSuper(String
the filename of the script making this call file, String name of the method to invoke name, int arity of the arguments on the stack arity, boolean whether a block is passed hasClosure, boolean whether the block passed is a literal closure literalClosure, boolean[] a map of arguments to be splatted back into arg list splatmap, int flags)Implements org. Invoke a superclass method from an instance context. |
| public void | invokeOther(String file, String scopeFieldName, CallBase
the call to be invoked call, int arity)Implements org. Invoke a method on an object other than self. |
| public void | invokeOtherOneFixnum(String file, CallBase call, long fixnum)
Implements org. Invoke a fixnum-receiving method on an object other than self. |
| public void | invokeOtherOneFloat(String file, CallBase call, double flote)
Implements org. Invoke a float-receiving method on an object other than self. |
| private void | |
| public void | invokeSelf(String
the filename of the script making this call file, String scopeFieldName, CallBase to be invoked on self call, int of the call. arity)Implements org. Invoke a method on self. |
| public void | invokeUnresolvedSuper(String
the filename of the script making this call file, String name of the method to invoke name, int arity of the arguments on the stack arity, boolean whether a block is passed hasClosure, boolean whether the block passed is a literal closure literalClosure, boolean[] a map of arguments to be splatted back into arg list splatmap, int flags)Implements org. Invoke a superclass method from an unresolved context. |
| public void | invokeZSuper(String
the filename of the script making this call file, String name of the method to invoke name, int arity of the arguments on the stack arity, boolean whether a block is passed hasClosure, boolean[] a map of arguments to be splatted back into arg list splatmap, int flags)Implements org. Invoke a superclass method from a zsuper in a block. |
| public void | setCallInfo(int flags)
Implements org. Sets the current callInfo, when it cannot be passed other ways Stack required: none |
| compiler | back to summary |
|---|---|
| private final IRBytecodeAdapter compiler | |
| normalCompiler | back to summary |
|---|---|
| private final InvocationCompiler normalCompiler | |
| IndyInvocationCompiler | back to summary |
|---|---|
| public IndyInvocationCompiler(IRBytecodeAdapter compiler) | |
| asString | back to summary |
|---|---|
| public void asString(AsStringInstr call, String scopeFieldName, String file) Implements org. Doc from org. Coerces the receiver to a String using to_s, unless it is already a String Stack required: context, caller, receiver
| |
| constructIndyCallName | back to summary |
|---|---|
| public static String constructIndyCallName(String action, String id) | |
| invokeArrayDeref | back to summary |
|---|---|
| public void invokeArrayDeref(String file, String scopeFieldName, CallBase call) Implements org. Doc from org. Invoke the array dereferencing method ([]) on an object other than self. If this invokes against a Hash with a frozen string, it will follow an optimized path. Stack required: context, self, target, arg0
| |
| invokeBlockGiven | back to summary |
|---|---|
| public void invokeBlockGiven(String methodName, String file) Implements org. Doc from org. Invoke block_given? or iterator? with awareness of any built-in methods.
| |
| invokeBlockGiven | back to summary |
|---|---|
| public static void invokeBlockGiven(IRBytecodeAdapter compiler, String methodName, String file) | |
| invokeClassSuper | back to summary |
|---|---|
| public void invokeClassSuper(String file, String name, int arity, boolean hasClosure, boolean literalClosure, boolean[] splatmap, int flags) Implements org. Doc from org. Invoke a superclass method from a class context. Stack required: context, caller, self, start class, arguments[, block]
| |
| invokeEQQ | back to summary |
|---|---|
| public void invokeEQQ(EQQInstr call) Implements org. Doc from org. Perform a === call appropriate for a case/when statement. Stack required: context, case value, when value
| |
| invokeFrameName | back to summary |
|---|---|
| public void invokeFrameName(String methodName, String file) Implements org. Doc from org. Invoke __method__ or __callee__ with awareness of any built-in methods.
| |
| invokeFrameName | back to summary |
|---|---|
| public static void invokeFrameName(IRBytecodeAdapter compiler, String methodName, String file) | |
| invokeInstanceSuper | back to summary |
|---|---|
| public void invokeInstanceSuper(String file, String name, int arity, boolean hasClosure, boolean literalClosure, boolean[] splatmap, int flags) Implements org. Doc from org. Invoke a superclass method from an instance context. Stack required: context, caller, self, start class, arguments[, block]
| |
| invokeOther | back to summary |
|---|---|
| public void invokeOther(String file, String scopeFieldName, CallBase call, int arity) Implements org. Doc from org. Invoke a method on an object other than self. Stack required: context, self, all arguments, optional block | |
| invokeOtherOneFixnum | back to summary |
|---|---|
| public void invokeOtherOneFixnum(String file, CallBase call, long fixnum) Implements org. Doc from org. Invoke a fixnum-receiving method on an object other than self. Stack required: context, self, receiver (fixnum will be handled separately)
| |
| invokeOtherOneFloat | back to summary |
|---|---|
| public void invokeOtherOneFloat(String file, CallBase call, double flote) Implements org. Doc from org. Invoke a float-receiving method on an object other than self. Stack required: context, self, receiver (float will be handled separately)
| |
| invokeOtherOrSelfArity1 | back to summary |
|---|---|
| private void invokeOtherOrSelfArity1(String file, int line, CallBase call) | |
| invokeSelf | back to summary |
|---|---|
| public void invokeSelf(String file, String scopeFieldName, CallBase call, int arity) Implements org. Doc from org. Invoke a method on self. Stack required: context, caller, self, all arguments, optional block | |
| invokeUnresolvedSuper | back to summary |
|---|---|
| public void invokeUnresolvedSuper(String file, String name, int arity, boolean hasClosure, boolean literalClosure, boolean[] splatmap, int flags) Implements org. Doc from org. Invoke a superclass method from an unresolved context. Stack required: context, caller, self, arguments[, block]
| |
| invokeZSuper | back to summary |
|---|---|
| public void invokeZSuper(String file, String name, int arity, boolean hasClosure, boolean[] splatmap, int flags) Implements org. Doc from org. Invoke a superclass method from a zsuper in a block. Stack required: context, caller, self, arguments[, block] | |
| setCallInfo | back to summary |
|---|---|
| public void setCallInfo(int flags) Implements org. Doc from org. Sets the current callInfo, when it cannot be passed other ways Stack required: none
| |