Top Description Fields Constructors Methods
org.jruby.runtime.callsite

pack-priv abstract Class BimorphicCallSite

extends CachingCallSite
Class Inheritance
Known Direct Subclasses
org.jruby.runtime.callsite.CmpCallSite, org.jruby.runtime.callsite.DivCallSite, org.jruby.runtime.callsite.EqCallSite, org.jruby.runtime.callsite.GeCallSite, org.jruby.runtime.callsite.GtCallSite, org.jruby.runtime.callsite.LeCallSite, org.jruby.runtime.callsite.LtCallSite, org.jruby.runtime.callsite.MinusCallSite, org.jruby.runtime.callsite.ModCallSite, org.jruby.runtime.callsite.MulCallSite, org.jruby.runtime.callsite.NotEqCallSite, org.jruby.runtime.callsite.PlusCallSite
Imports
org.jruby.RubyClass, org.jruby.runtime.CallType, org.jruby.runtime.builtin.IRubyObject

A bi-morphic call-site.

Note

used as a base for mixed Fixnum/Float ops

Field Summary

Modifier and TypeField and Description
protected CacheEntry
Inherited from org.jruby.runtime.callsite.CachingCallSite:
builtinCachecache

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private CacheEntry
cacheAndGetSecondary(IRubyObject self, RubyClass selfType, String methodName)

public final CacheEntry
public boolean
public final CacheEntry
protected CacheEntry
Inherited from org.jruby.runtime.callsite.CachingCallSite:
cacheAndCallcacheAndCallcacheAndCallcacheAndCallcacheAndCallcacheAndCallcacheAndCallcacheAndCallcacheAndCallcacheAndCallcallcallcallcallcallcallcallcallcallcallcallcallcallItercallItercallItercallItercallItercallVarargscallVarargscallVarargsIterfcallfcallfcallfcallfcallfcallfcallfcallfcallfcallfcallIterfcallIterfcallIterfcallIterfcallIterfcallVarargsfcallVarargsfcallVarargsItergetCachegetCachedClassIndexgetCachedMethodSerialgetClassgetMethodNameisBuiltinisBuiltinisOptimizablemethodMissingretrieveCacheretrieveCacheretrieveCachesetCache

Field Detail

secondaryCacheback to summary
protected CacheEntry secondaryCache

Constructor Detail

BimorphicCallSiteback to summary
public BimorphicCallSite(String methodName)

Method Detail

cacheAndGetSecondaryback to summary
private CacheEntry cacheAndGetSecondary(IRubyObject self, RubyClass selfType, String methodName)
getSecondaryCacheback to summary
public final CacheEntry getSecondaryCache()
isSecondaryBuiltinback to summary
public boolean isSecondaryBuiltin(IRubyObject self)
retrieveSecondaryCacheback to summary
public final CacheEntry retrieveSecondaryCache(IRubyObject self)
setSecondaryCacheback to summary
protected CacheEntry setSecondaryCache(CacheEntry entry, IRubyObject self)