public class ShiftRightCallSite extends MonomorphicCallSite
builtinCache, cache
callType, methodName
Constructor and Description |
---|
ShiftRightCallSite() |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject arg1)
Call the site's method against the target object passing one argument.
|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long arg1)
Call the site's method against the target object, passing a literal long
value.
|
boolean |
isBuiltin(IRubyObject self) |
protected CacheEntry |
setCache(CacheEntry entry,
IRubyObject self) |
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, isOptimizable, methodMissing, retrieveCache, retrieveCache, retrieveCache
public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, long arg1)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstarg1
- the literal long value to passpublic IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstarg1
- the argument to passprotected CacheEntry setCache(CacheEntry entry, IRubyObject self)
setCache
in class CachingCallSite
public boolean isBuiltin(IRubyObject self)
isBuiltin
in class CachingCallSite
Copyright © 2001-2020 JRuby. All Rights Reserved.