org.jruby.compiler
Class JITCompiler.JITClassGenerator

java.lang.Object
  extended by org.jruby.compiler.JITCompiler.JITClassGenerator
All Implemented Interfaces:
ClassCache.ClassGenerator
Enclosing class:
JITCompiler

public static class JITCompiler.JITClassGenerator
extends java.lang.Object
implements ClassCache.ClassGenerator


Constructor Summary
JITCompiler.JITClassGenerator(java.lang.String name, java.lang.String key, Ruby ruby, DefaultMethod method, ThreadContext context, JITCompiler.JITCounts counts)
           
 
Method Summary
 byte[] bytecode()
           
 CallConfiguration callConfig()
           
protected  void compile()
           
 void generate()
           
 java.lang.String name()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JITCompiler.JITClassGenerator

public JITCompiler.JITClassGenerator(java.lang.String name,
                                     java.lang.String key,
                                     Ruby ruby,
                                     DefaultMethod method,
                                     ThreadContext context,
                                     JITCompiler.JITCounts counts)
Method Detail

compile

protected void compile()

generate

public void generate()
Specified by:
generate in interface ClassCache.ClassGenerator

bytecode

public byte[] bytecode()
Specified by:
bytecode in interface ClassCache.ClassGenerator

name

public java.lang.String name()
Specified by:
name in interface ClassCache.ClassGenerator

callConfig

public CallConfiguration callConfig()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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