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(StandardASMCompiler.AbstractMethodCompiler method, java.math.BigInteger bigint)
           
 void cacheByteList(StandardASMCompiler.AbstractMethodCompiler method, java.lang.String contents)
           
 void cacheCallSite(StandardASMCompiler.AbstractMethodCompiler method, java.lang.String name, CallType callType)
           
 void cacheClosure(StandardASMCompiler.AbstractMethodCompiler method, java.lang.String closureMethod, int arity, StaticScope scope, boolean hasMultipleArgsHead, NodeType argsNodeId, ASTInspector inspector)
           
 void cacheClosureOld(StandardASMCompiler.AbstractMethodCompiler method, java.lang.String closureMethod)
           
 void cacheFixnum(StandardASMCompiler.AbstractMethodCompiler method, long value)
           
 void cachePosition(StandardASMCompiler.AbstractMethodCompiler method, java.lang.String file, int line)
          Deprecated. 
 void cacheSymbol(StandardASMCompiler.AbstractMethodCompiler 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(StandardASMCompiler.AbstractMethodCompiler method,
                          java.lang.String name,
                          CallType callType)
Specified by:
cacheCallSite in interface CacheCompiler

cachePosition

@Deprecated
public void cachePosition(StandardASMCompiler.AbstractMethodCompiler method,
                                     java.lang.String file,
                                     int line)
Deprecated. 


cacheByteList

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

cacheBigInteger

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

cacheSymbol

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

cacheFixnum

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

cacheClosure

public void cacheClosure(StandardASMCompiler.AbstractMethodCompiler method,
                         java.lang.String closureMethod,
                         int arity,
                         StaticScope scope,
                         boolean hasMultipleArgsHead,
                         NodeType argsNodeId,
                         ASTInspector inspector)
Specified by:
cacheClosure in interface CacheCompiler

cacheClosureOld

public void cacheClosureOld(StandardASMCompiler.AbstractMethodCompiler method,
                            java.lang.String closureMethod)
Specified by:
cacheClosureOld in interface CacheCompiler


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