public class BasicBlock
extends java.lang.Object
implements org.jruby.dirgra.ExplicitVertexID, java.lang.Comparable
| Constructor and Description |
|---|
BasicBlock(CFG cfg,
Label label) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInstr(Instr i) |
boolean |
canRaiseExceptions() |
BasicBlock |
clone(CloneInfo info,
CFG newCFG) |
BasicBlock |
cloneForInlining(InlineCloneInfo ii) |
void |
cloneInstrs(SimpleCloneInfo ii) |
int |
compareTo(java.lang.Object o) |
int |
getID() |
java.util.List<Instr> |
getInstrs() |
Label |
getLabel() |
Instr |
getLastInstr() |
int |
hashCode() |
void |
insertInstr(Instr i) |
void |
insertInstr(int index,
Instr i) |
boolean |
isEmpty() |
boolean |
isEntryBB() |
boolean |
isExitBB() |
boolean |
isRescueEntry() |
void |
markRescueEntryBB() |
boolean |
removeInstr(Instr i) |
void |
replaceInstrs(java.util.List<Instr> instrs) |
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 org.jruby.dirgra.ExplicitVertexIDpublic Label getLabel()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean canRaiseExceptions()
public boolean isEntryBB()
public boolean isExitBB()
public void markRescueEntryBB()
public boolean isRescueEntry()
public void replaceInstrs(java.util.List<Instr> instrs)
public void addInstr(Instr i)
public void insertInstr(Instr i)
public void insertInstr(int index,
Instr i)
public java.util.List<Instr> getInstrs()
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 clone(CloneInfo info, CFG newCFG)
public void cloneInstrs(SimpleCloneInfo ii)
public BasicBlock cloneForInlining(InlineCloneInfo ii)
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringInstrs()
Copyright © 2001-2018 JRuby. All Rights Reserved.