public class ArefCallSite extends MonomorphicCallSite
builtinCache, cache
callType, methodName
Constructor and Description |
---|
ArefCallSite() |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject arg)
Call the site's method against the target object passing one argument.
|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long fixnum)
Call the site's method against the target object, passing a literal long
value.
|
cacheAndCall, cacheAndCall, call, call, call, call, call, call, call, call, call, call, callIter, callIter, callIter, callIter, callIter, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, callVarargs, callVarargs, callVarargsIter, getCache, getCachedClassIndex, getCachedMethodSerial, getClass, getMethodName, isBuiltin, isBuiltin, isOptimizable, methodMissing, retrieveCache, retrieveCache, retrieveCache, setCache
public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, long fixnum)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstfixnum
- the literal long value to passpublic IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstarg
- the argument to passCopyright © 2001-2021 JRuby. All Rights Reserved.