public class MinusCallSite extends CachingCallSite
Modifier and Type | Field and Description |
---|---|
protected CacheEntry |
secondaryCache |
builtinCache, cache
callType, methodName
Constructor and Description |
---|
MinusCallSite() |
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, retrieveCache
protected CacheEntry secondaryCache
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 passpublic IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, double 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 double value to passprotected CacheEntry setCache(CacheEntry entry, IRubyObject self)
setCache
in class CachingCallSite
protected CacheEntry setSecondaryCache(CacheEntry entry, IRubyObject self)
public boolean isBuiltin(IRubyObject self)
isBuiltin
in class CachingCallSite
public boolean isSecondaryBuiltin(IRubyObject self)
public final CacheEntry getSecondaryCache()
public final CacheEntry retrieveSecondaryCache(IRubyObject self)
Copyright © 2001-2020 JRuby. All Rights Reserved.