public class DivCallSite extends NormalCachingCallSite
cache, totalCallSites
callType, methodName
Constructor and Description |
---|
DivCallSite() |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject arg)
Call the site's method against the target object passing one argument.
|
IRubyObject |
call(ThreadContext context,
IRubyObject caller,
IRubyObject self,
long fixnum)
Call the site's method against the target object, passing a literal long
value.
|
methodMissing
cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, cacheAndCall, 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, getMethodName, isOptimizable, retrieveCache, updateCache
public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, long fixnum)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstfixnum
- the literal long value to passpublic IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg)
CallSite
call
in class CachingCallSite
context
- the ThreadContext for the current threadcaller
- the caller, for visibility checksself
- the target object to call againstarg
- the argument to passCopyright © 2001-2014 JRuby. All Rights Reserved.