public class BasicBlock extends java.lang.Object implements ExplicitVertexID
Constructor and Description |
---|
BasicBlock(CFG c,
Label l) |
Modifier and Type | Method and Description |
---|---|
void |
addInstr(Instr i) |
BasicBlock |
cloneForInlinedClosure(InlinerInfo ii) |
BasicBlock |
cloneForInlinedMethod(InlinerInfo ii) |
int |
getID() |
java.util.List<Instr> |
getInstrs() |
Instr[] |
getInstrsArray() |
Label |
getLabel() |
Instr |
getLastInstr() |
void |
insertInstr(Instr i) |
int |
instrCount() |
boolean |
isEmpty() |
boolean |
isRescueEntry() |
void |
markRescueEntryBB() |
boolean |
removeInstr(Instr i) |
BasicBlock |
splitAtInstruction(Instr splitPoint,
Label newLabel,
boolean includeSplitPointInstr) |
void |
swallowBB(BasicBlock foodBB) |
java.lang.String |
toString() |
java.lang.String |
toStringInstrs() |
public int getID()
getID
in interface ExplicitVertexID
public Label getLabel()
public void markRescueEntryBB()
public boolean isRescueEntry()
public void addInstr(Instr i)
public void insertInstr(Instr i)
public java.util.List<Instr> getInstrs()
public int instrCount()
public Instr[] getInstrsArray()
public Instr getLastInstr()
public boolean removeInstr(Instr i)
public boolean isEmpty()
public BasicBlock splitAtInstruction(Instr splitPoint, Label newLabel, boolean includeSplitPointInstr)
public void swallowBB(BasicBlock foodBB)
public BasicBlock cloneForInlinedMethod(InlinerInfo ii)
public BasicBlock cloneForInlinedClosure(InlinerInfo ii)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringInstrs()
Copyright © 2002-2009 JRuby Team. All Rights Reserved.