org.jruby.compiler.impl
Class FieldBasedCacheCompiler

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

public class FieldBasedCacheCompiler
extends java.lang.Object
implements CacheCompiler

Author:
headius

Field Summary
protected  StandardASMCompiler scriptCompiler
           
 
Constructor Summary
FieldBasedCacheCompiler(StandardASMCompiler scriptCompiler)
           
 
Method Summary
 void cacheBigInteger(SkinnyMethodAdapter method, java.math.BigInteger bigint)
           
 void cacheByteList(SkinnyMethodAdapter method, java.lang.String contents)
           
 void cacheCallSite(SkinnyMethodAdapter method, java.lang.String name, CallType callType)
           
 void cacheClosure(SkinnyMethodAdapter method, java.lang.String closureMethod)
           
 void cachePosition(SkinnyMethodAdapter method, java.lang.String file, int line)
           
 void cacheSymbol(SkinnyMethodAdapter method, java.lang.String symbol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scriptCompiler

protected StandardASMCompiler scriptCompiler
Constructor Detail

FieldBasedCacheCompiler

public FieldBasedCacheCompiler(StandardASMCompiler scriptCompiler)
Method Detail

cacheCallSite

public void cacheCallSite(SkinnyMethodAdapter method,
                          java.lang.String name,
                          CallType callType)
Specified by:
cacheCallSite in interface CacheCompiler

cachePosition

public void cachePosition(SkinnyMethodAdapter method,
                          java.lang.String file,
                          int line)

cacheByteList

public void cacheByteList(SkinnyMethodAdapter method,
                          java.lang.String contents)
Specified by:
cacheByteList in interface CacheCompiler

cacheBigInteger

public void cacheBigInteger(SkinnyMethodAdapter method,
                            java.math.BigInteger bigint)
Specified by:
cacheBigInteger in interface CacheCompiler

cacheSymbol

public void cacheSymbol(SkinnyMethodAdapter method,
                        java.lang.String symbol)
Specified by:
cacheSymbol in interface CacheCompiler

cacheClosure

public void cacheClosure(SkinnyMethodAdapter method,
                         java.lang.String closureMethod)
Specified by:
cacheClosure in interface CacheCompiler


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