public class IRBytecodeAdapter7 extends IRBytecodeAdapter6
adapter, MAX_ARGUMENTS, signature| Constructor and Description |
|---|
IRBytecodeAdapter7(SkinnyMethodAdapter adapter,
com.headius.invokebinder.Signature signature,
org.jruby.ir.targets.ClassData classData) |
| Modifier and Type | Method and Description |
|---|---|
void |
array(int length)
Construct an Array from elements on stack.
|
void |
checkpoint()
Perform a thread event checkpoint.
|
void |
getField(String name)
Load instance variable from self.
|
void |
hash(int length)
Construct a Hash from elements on stack.
|
void |
invokeArrayDeref()
Invoke the array dereferencing method ([]) on an object other than self.
|
void |
invokeClassSuper(String name,
int arity,
boolean hasClosure,
boolean[] splatmap)
Invoke a superclass method from a class context.
|
void |
invokeInstanceSuper(String name,
int arity,
boolean hasClosure,
boolean[] splatmap)
Invoke a superclass method from an instance context.
|
void |
invokeOther(String name,
int arity,
boolean hasClosure,
boolean isPotentiallyRefined)
Invoke a method on an object other than self.
|
void |
invokeOtherOneFixnum(String name,
long fixnum)
Invoke a fixnum-receiving method on an object other than self.
|
void |
invokeOtherOneFloat(String name,
double flote)
Invoke a float-receiving method on an object other than self.
|
void |
invokeSelf(String name,
int arity,
boolean hasClosure,
CallType callType,
boolean isPotentiallyRefined)
Invoke a method on self.
|
void |
invokeUnresolvedSuper(String name,
int arity,
boolean hasClosure,
boolean[] splatmap)
Invoke a superclass method from an unresolved context.
|
void |
invokeZSuper(String name,
int arity,
boolean hasClosure,
boolean[] splatmap)
Invoke a superclass method from a zsuper in a block.
|
void |
kwargsHash(int length)
Construct a Hash based on keyword arguments pasesd to this method, for use in zsuper
Stack required: context, kwargs hash to dup, remaining elements of hash
|
void |
loadRuntime()
Push the JRuby runtime on the stack.
|
void |
prepareBlock(org.objectweb.asm.Handle handle,
Signature signature,
String className)
Prepare a block for a subsequent call.
|
void |
pushBignum(BigInteger bigint)
Load a Bignum onto the stack.
|
void |
pushBoolean(boolean b)
Load a boolean onto the stack.
|
void |
pushByteList(org.jruby.util.ByteList bl)
Stack required: none
|
void |
pushDRegexp(Runnable callback,
RegexpOptions options,
int arity)
Build a dynamic regexp.
|
void |
pushEncoding(org.jcodings.Encoding encoding)
Push an encoding on the stack.
|
void |
pushFixnum(long l)
Stack required: none
|
void |
pushFloat(double d)
Stack required: none
|
void |
pushFrozenString(org.jruby.util.ByteList bl,
int cr,
String file,
int line)
Stack required: none
|
void |
pushNil()
Load nil onto the stack.
|
void |
pushRegexp(org.jruby.util.ByteList source,
int options)
Build and save a literal regular expression.
|
void |
pushString(org.jruby.util.ByteList bl,
int cr)
Stack required: none
|
void |
pushSymbol(String sym,
org.jcodings.Encoding encoding)
Push a symbol on the stack
|
void |
putField(String name)
Store instance variable into self.
|
buildArrayFromLocals, cacheValuePermanently, cacheValuePermanently, cacheValuePermanentlyLoadContext, getGlobalVariable, inheritanceSearchConst, invoke, lexicalSearchConst, pushSymbolProc, searchConst, searchModuleForConst, setGlobalVariable, yield, yieldSpecific, yieldValuesbfalse, btrue, cacheCallSite, endMethod, getClassData, getUniqueSiteName, goTo, invokeHelper, invokeHelper, invokeIRHelper, invokeStatic, invokeVirtual, isNil, isTrue, loadArgs, loadBlock, loadBlockType, loadContext, loadFrameClass, loadFrameName, loadLocal, loadSelf, loadSelfBlock, loadStaticScope, loadSuperName, mark, newLabel, newLocal, poll, pushHandle, pushObjectClass, pushUndefined, returnValue, startMethod, storeArgs, storeLocal, storeSelfpublic IRBytecodeAdapter7(SkinnyMethodAdapter adapter, com.headius.invokebinder.Signature signature, org.jruby.ir.targets.ClassData classData)
public void pushFixnum(long l)
IRBytecodeAdapterpushFixnum in class IRBytecodeAdapter6l - long value to push as a Fixnumpublic void pushFloat(double d)
IRBytecodeAdapterpushFloat in class IRBytecodeAdapter6d - double value to push as a Floatpublic void pushString(org.jruby.util.ByteList bl,
int cr)
IRBytecodeAdapterpushString in class IRBytecodeAdapter6bl - ByteList for the String to pushpublic void pushFrozenString(org.jruby.util.ByteList bl,
int cr,
String file,
int line)
IRBytecodeAdapter6pushFrozenString in class IRBytecodeAdapter6bl - ByteList for the String to pushpublic void pushByteList(org.jruby.util.ByteList bl)
IRBytecodeAdapterpushByteList in class IRBytecodeAdapter6bl - ByteList to pushpublic void pushRegexp(org.jruby.util.ByteList source,
int options)
IRBytecodeAdapterpushRegexp in class IRBytecodeAdapter6options - options for the regexppublic void pushDRegexp(Runnable callback, RegexpOptions options, int arity)
IRBytecodeAdapterpushDRegexp in class IRBytecodeAdapter6options - options for the regexparity - number of Strings passed inpublic void pushSymbol(String sym, org.jcodings.Encoding encoding)
pushSymbol in class IRBytecodeAdapter6sym - the symbol's string identifierencoding - the symbol's encodingpublic void loadRuntime()
IRBytecodeAdapterloadRuntime in class IRBytecodeAdapter6public void pushEncoding(org.jcodings.Encoding encoding)
IRBytecodeAdapterpushEncoding in class IRBytecodeAdapter6encoding - the encoding to pushpublic void invokeOther(String name, int arity, boolean hasClosure, boolean isPotentiallyRefined)
IRBytecodeAdapterinvokeOther in class IRBytecodeAdapter6name - name of the method to invokearity - arity of the callhasClosure - whether a closure will be on the stack for passingpublic void invokeArrayDeref()
IRBytecodeAdapterinvokeArrayDeref in class IRBytecodeAdapter6public void invokeOtherOneFixnum(String name, long fixnum)
IRBytecodeAdapterinvokeOtherOneFixnum in class IRBytecodeAdapter6name - name of the method to invokepublic void invokeOtherOneFloat(String name, double flote)
IRBytecodeAdapterinvokeOtherOneFloat in class IRBytecodeAdapter6name - name of the method to invokepublic void invokeSelf(String name, int arity, boolean hasClosure, CallType callType, boolean isPotentiallyRefined)
IRBytecodeAdapterinvokeSelf in class IRBytecodeAdapter6name - name of the method to invokearity - arity of the callhasClosure - whether a closure will be on the stack for passingpublic void invokeInstanceSuper(String name, int arity, boolean hasClosure, boolean[] splatmap)
IRBytecodeAdapterinvokeInstanceSuper in class IRBytecodeAdapter6name - name of the method to invokearity - arity of the arguments on the stackhasClosure - whether a block is passedsplatmap - a map of arguments to be splatted back into arg listpublic void invokeClassSuper(String name, int arity, boolean hasClosure, boolean[] splatmap)
IRBytecodeAdapterinvokeClassSuper in class IRBytecodeAdapter6name - name of the method to invokearity - arity of the arguments on the stackhasClosure - whether a block is passedsplatmap - a map of arguments to be splatted back into arg listpublic void invokeUnresolvedSuper(String name, int arity, boolean hasClosure, boolean[] splatmap)
IRBytecodeAdapterinvokeUnresolvedSuper in class IRBytecodeAdapter6name - name of the method to invokearity - arity of the arguments on the stackhasClosure - whether a block is passedsplatmap - a map of arguments to be splatted back into arg listpublic void invokeZSuper(String name, int arity, boolean hasClosure, boolean[] splatmap)
IRBytecodeAdapterinvokeZSuper in class IRBytecodeAdapter6name - name of the method to invokearity - arity of the arguments on the stackhasClosure - whether a block is passedsplatmap - a map of arguments to be splatted back into arg listpublic void pushNil()
IRBytecodeAdapterpushNil in class IRBytecodeAdapter6public void pushBoolean(boolean b)
IRBytecodeAdapterpushBoolean in class IRBytecodeAdapter6b - the boolean to pushpublic void pushBignum(BigInteger bigint)
IRBytecodeAdapterpushBignum in class IRBytecodeAdapter6bigint - the value of the Bignum to pushpublic void putField(String name)
IRBytecodeAdapterputField in class IRBytecodeAdapter6name - name of variable to storepublic void getField(String name)
IRBytecodeAdaptergetField in class IRBytecodeAdapter6name - name of variable to loadpublic void array(int length)
IRBytecodeAdapterarray in class IRBytecodeAdapter6length - number of elementspublic void hash(int length)
IRBytecodeAdapterhash in class IRBytecodeAdapter6length - number of element pairspublic void kwargsHash(int length)
IRBytecodeAdapterkwargsHash in class IRBytecodeAdapter6length - number of element pairspublic void checkpoint()
IRBytecodeAdaptercheckpoint in class IRBytecodeAdapter6public void prepareBlock(org.objectweb.asm.Handle handle,
Signature signature,
String className)
IRBytecodeAdapterprepareBlock in class IRBytecodeAdapter6Copyright © 2001-2016 JRuby. All Rights Reserved.