Package org.jruby.runtime.callsite
Class BitOrCallSite
java.lang.Object
org.jruby.runtime.CallSite
org.jruby.runtime.callsite.CachingCallSite
org.jruby.runtime.callsite.MonomorphicCallSite
org.jruby.runtime.callsite.BitOrCallSite
-
Nested Class Summary
Nested Classes -
Field Summary
Fields 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, 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) protected CacheEntrysetCache(CacheEntry entry, IRubyObject self) Methods inherited from class org.jruby.runtime.callsite.CachingCallSite
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
-
Constructor Details
-
BitOrCallSite
public BitOrCallSite()
-
-
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
-
setCache
- Overrides:
setCachein classCachingCallSite
-
isBuiltin
- Overrides:
isBuiltinin classCachingCallSite
-