public class IRManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_BUILD_PASSES |
static String |
DEFAULT_INLINING_COMPILER_PASSES |
static String |
DEFAULT_JIT_PASSES |
static String |
SAFE_COMPILER_PASSES |
Constructor and Description |
---|
IRManager(RubyInstanceConfig config) |
public static final String SAFE_COMPILER_PASSES
public static final String DEFAULT_BUILD_PASSES
public static final String DEFAULT_JIT_PASSES
public static final String DEFAULT_INLINING_COMPILER_PASSES
public IRManager(RubyInstanceConfig config)
public boolean isDryRun()
public void setDryRun(boolean value)
public Nil getNil()
public Boolean getTrue()
public Boolean getFalse()
public IRModuleBody getObject()
public CompilerPassScheduler schedulePasses()
public static CompilerPassScheduler schedulePasses(List<CompilerPass> passes)
public List<CompilerPass> getCompilerPasses(IRScope scope)
public List<CompilerPass> getInliningCompilerPasses(IRScope scope)
public List<CompilerPass> getJITPasses(IRScope scope)
public List<CompilerPass> getSafePasses(IRScope scope)
public Set<CompilerPassListener> getListeners()
public InstructionsListener getInstructionsListener()
public IRScopeListener getIRScopeListener()
public void addListener(CompilerPassListener listener)
public void removeListener(CompilerPassListener listener)
public void addListener(InstructionsListener listener)
public void removeListener(InstructionsListener listener)
public void addListener(IRScopeListener listener)
public LineNumberInstr newLineNumber(int line)
public ReceiveSelfInstr getReceiveSelfInstr()
protected LineNumberInstr[] growLineNumbersPool(int index)
public void removeListener(IRScopeListener listener)
public String getMetaClassName()
protected TemporaryLocalVariable[] growTemporaryVariablePool(int index)
public TemporaryLocalVariable newTemporaryLocalVariable(int index)
public Instr[] optimizeTemporaryVariablesIfEnabled(IRScope scope, Instr[] instrs)
protected void optimizeIfSimpleScope(IRScope scope)
public RubyInstanceConfig getInstanceConfig()
Copyright © 2001-2015 JRuby. All Rights Reserved.