org.jruby.compiler.impl
Class InheritedCacheCompiler

java.lang.Object
  extended by org.jruby.compiler.impl.FieldBasedCacheCompiler
      extended by org.jruby.compiler.impl.InheritedCacheCompiler
All Implemented Interfaces:
CacheCompiler

public class InheritedCacheCompiler
extends FieldBasedCacheCompiler

Author:
headius

Field Summary
static int MAX_INHERITED_CALL_SITES
           
static int MAX_INHERITED_FIXNUMS
           
static int MAX_INHERITED_SYMBOLS
           
 
Fields inherited from class org.jruby.compiler.impl.FieldBasedCacheCompiler
scriptCompiler
 
Constructor Summary
InheritedCacheCompiler(StandardASMCompiler scriptCompiler)
           
 
Method Summary
 void cacheCallSite(StandardASMCompiler.AbstractMethodCompiler method, java.lang.String name, CallType callType)
           
 void cacheFixnum(StandardASMCompiler.AbstractMethodCompiler method, long value)
           
 void cacheSymbol(StandardASMCompiler.AbstractMethodCompiler method, java.lang.String symbol)
           
 
Methods inherited from class org.jruby.compiler.impl.FieldBasedCacheCompiler
cacheBigInteger, cacheByteList, cacheClosure, cacheClosureOld, cachePosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_INHERITED_CALL_SITES

public static final int MAX_INHERITED_CALL_SITES
See Also:
Constant Field Values

MAX_INHERITED_SYMBOLS

public static final int MAX_INHERITED_SYMBOLS
See Also:
Constant Field Values

MAX_INHERITED_FIXNUMS

public static final int MAX_INHERITED_FIXNUMS
See Also:
Constant Field Values
Constructor Detail

InheritedCacheCompiler

public InheritedCacheCompiler(StandardASMCompiler scriptCompiler)
Method Detail

cacheCallSite

public void cacheCallSite(StandardASMCompiler.AbstractMethodCompiler method,
                          java.lang.String name,
                          CallType callType)
Specified by:
cacheCallSite in interface CacheCompiler
Overrides:
cacheCallSite in class FieldBasedCacheCompiler

cacheSymbol

public void cacheSymbol(StandardASMCompiler.AbstractMethodCompiler method,
                        java.lang.String symbol)
Specified by:
cacheSymbol in interface CacheCompiler
Overrides:
cacheSymbol in class FieldBasedCacheCompiler

cacheFixnum

public void cacheFixnum(StandardASMCompiler.AbstractMethodCompiler method,
                        long value)
Specified by:
cacheFixnum in interface CacheCompiler
Overrides:
cacheFixnum in class FieldBasedCacheCompiler


Copyright © 2002-2007 JRuby Team. All Rights Reserved.