org.jruby.compiler.ir.representations
Class BasicBlock
java.lang.Object
org.jruby.compiler.ir.representations.BasicBlock
public class BasicBlock
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BasicBlock
public BasicBlock(CFG c,
Label l)
updateCFG
public void updateCFG(CFG c)
getID
public int getID()
getLabel
public Label getLabel()
addInstr
public void addInstr(Instr i)
insertInstr
public void insertInstr(Instr i)
getInstrs
public java.util.List<Instr> getInstrs()
getInstrsArray
public Instr[] getInstrsArray()
getLastInstr
public Instr getLastInstr()
removeInstr
public boolean removeInstr(Instr i)
isEmpty
public boolean isEmpty()
splitAtInstruction
public BasicBlock splitAtInstruction(Instr splitPoint,
Label newLabel,
boolean includeSplitPointInstr)
swallowBB
public void swallowBB(BasicBlock foodBB)
cloneForInlining
public BasicBlock cloneForInlining(InlinerInfo ii)
processClosureArgAndReturnInstrs
public void processClosureArgAndReturnInstrs(InlinerInfo ii,
YieldInstr yi)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toStringInstrs
public java.lang.String toStringInstrs()
Copyright © 2002-2009 JRuby Team. All Rights Reserved.