Package org.jruby.runtime.callsite
Class MinusCallSite
java.lang.Object
org.jruby.runtime.CallSite
org.jruby.runtime.callsite.CachingCallSite
org.jruby.runtime.callsite.BimorphicCallSite
org.jruby.runtime.callsite.MinusCallSite
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Field Summary
Fields inherited from class org.jruby.runtime.callsite.BimorphicCallSite
secondaryCacheFields inherited from class org.jruby.runtime.callsite.CachingCallSite
builtinCache, cacheFields inherited from class org.jruby.runtime.CallSite
callType, methodName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall(ThreadContext context, IRubyObject caller, IRubyObject self, double arg1) Call the site's method against the target object, passing a literal double value.call(ThreadContext context, IRubyObject caller, IRubyObject self, long arg1) Call the site's method against the target object, passing a literal long value.call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1) Call the site's method against the target object passing one argument.booleanisBuiltin(IRubyObject self) booleanprotected CacheEntrysetCache(CacheEntry entry, IRubyObject self) protected CacheEntrysetSecondaryCache(CacheEntry entry, IRubyObject self) Methods inherited from class org.jruby.runtime.callsite.BimorphicCallSite
getSecondaryCache, retrieveSecondaryCacheMethods inherited from class org.jruby.runtime.callsite.CachingCallSite
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
-
Constructor Details
-
MinusCallSite
public MinusCallSite()
-
-
Method Details
-
call
Description copied from class:CallSiteCall the site's method against the target object, passing a literal long value.- Overrides:
callin classCachingCallSite- Parameters:
context- the ThreadContext for the current threadcaller- the caller, for visibility checksself- the target object to call againstarg1- the literal long value to pass- Returns:
- the result of the call
-
call
public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1) Description copied from class:CallSiteCall the site's method against the target object passing one argument.- Overrides:
callin classCachingCallSite- Parameters:
context- the ThreadContext for the current threadcaller- the caller, for visibility checksself- the target object to call againstarg1- the argument to pass- Returns:
- the result of the call
-
call
Description copied from class:CallSiteCall the site's method against the target object, passing a literal double value.- Overrides:
callin classCachingCallSite- Parameters:
context- the ThreadContext for the current threadcaller- the caller, for visibility checksself- the target object to call againstarg1- the literal double value to pass- Returns:
- the result of the call
-
setCache
- Overrides:
setCachein classCachingCallSite
-
setSecondaryCache
- Overrides:
setSecondaryCachein classBimorphicCallSite
-
isBuiltin
- Overrides:
isBuiltinin classCachingCallSite
-
isSecondaryBuiltin
- Overrides:
isSecondaryBuiltinin classBimorphicCallSite
-