public class BasicBlock extends 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() |
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) |
String |
toString() |
String |
toStringInstrs() |
public int getID()
getID in interface ExplicitVertexIDpublic Label getLabel()
public void markRescueEntryBB()
public boolean isRescueEntry()
public void addInstr(Instr i)
public void insertInstr(Instr i)
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 String toStringInstrs()
Copyright © 2001-2014 JRuby. All Rights Reserved.