public class CmpCallSite extends CachingCallSite
| Modifier and Type | Field and Description |
|---|---|
protected CacheEntry |
secondaryCache |
builtinCache, cachecallType, methodName| Constructor and Description |
|---|
CmpCallSite() |
| Modifier and Type | Method and Description |
|---|---|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
double arg1)
Call the site's method against the target object, passing a literal double
value.
|
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.
|
CacheEntry |
getSecondaryCache() |
boolean |
isBuiltin(IRubyObject self) |
boolean |
isSecondaryBuiltin(IRubyObject self) |
CacheEntry |
retrieveSecondaryCache(IRubyObject self) |
protected CacheEntry |
setCache(CacheEntry entry,
IRubyObject self) |
protected CacheEntry |
setSecondaryCache(CacheEntry entry,
IRubyObject self) |
cacheAndCall, cacheAndCall, 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, retrieveCacheprotected CacheEntry secondaryCache
public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1)
CallSitecall in class CachingCallSitecontext - the ThreadContext for the current threadcaller - the caller, for visibility checksself - the target object to call againstarg1 - the argument to passpublic IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, long arg1)
CallSitecall in class CachingCallSitecontext - 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, double arg1)
CallSitecall in class CachingCallSitecontext - the ThreadContext for the current threadcaller - the caller, for visibility checksself - the target object to call againstarg1 - the literal double value to passprotected CacheEntry setCache(CacheEntry entry, IRubyObject self)
setCache in class CachingCallSiteprotected CacheEntry setSecondaryCache(CacheEntry entry, IRubyObject self)
public boolean isBuiltin(IRubyObject self)
isBuiltin in class CachingCallSitepublic boolean isSecondaryBuiltin(IRubyObject self)
public final CacheEntry getSecondaryCache()
public final CacheEntry retrieveSecondaryCache(IRubyObject self)
Copyright © 2001-2021 JRuby. All Rights Reserved.