|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjbet.DagSnippit
public class DagSnippit
Nested Class Summary | |
---|---|
static class |
DagSnippit.Modifier
|
Field Summary | |
---|---|
java.util.Vector |
bbs
|
int |
blflags
|
static java.lang.String |
JbetLogFacility
|
DagMethodInfo |
method
|
Node.param[] |
params
|
Constructor Summary | |
---|---|
DagSnippit()
constructor. |
Method Summary | |
---|---|
BasicBlock |
blockAt(int i)
|
void |
clearTmps()
clearTmps sets clocal to -1 for each Node. |
void |
findLabels()
Search for label nodes in all blocks. |
void |
findRoles()
findRoles sets sb.es.role for each basic block |
static DagSnippit |
graphify(MethodInfo mi)
Convert one method's InstrBlocks to BasicBlocks. |
static DagSnippit |
graphify(MethodInfo mi,
ClassFilter fixcons)
Convert one method's InstrBlocks to BasicBlocks. |
static DagSnippit |
graphify(MethodInfo mi,
ClassFilter fixcons,
DagSnippit inme,
int[] permutation)
|
void |
printinfo(LineWriter out)
Display a DAG on the output stream |
void |
replace_cfe(java.util.Hashtable subs,
Node.SubMethod sm)
|
void |
replace(java.util.Hashtable subs,
Node.SubMethod sm)
replace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String JbetLogFacility
public java.util.Vector bbs
public DagMethodInfo method
public Node.param[] params
public int blflags
Constructor Detail |
---|
public DagSnippit()
Method Detail |
---|
public BasicBlock blockAt(int i)
public static DagSnippit graphify(MethodInfo mi) throws ClassFileException, DataFlowException, ElementNotFoundException
mi
- The method to convert
ClassFileException
DataFlowException
ElementNotFoundException
public static DagSnippit graphify(MethodInfo mi, ClassFilter fixcons) throws ClassFileException, DataFlowException, ElementNotFoundException
mi
- The method to graphifyfixcons
- Function that says whether to replace new with invokeinit
ClassFileException
DataFlowException
ElementNotFoundException
public static DagSnippit graphify(MethodInfo mi, ClassFilter fixcons, DagSnippit inme, int[] permutation) throws ClassFileException, DataFlowException, ElementNotFoundException
ClassFileException
DataFlowException
ElementNotFoundException
public void printinfo(LineWriter out)
out
- stream to write onpublic void replace(java.util.Hashtable subs, Node.SubMethod sm) throws java.lang.Throwable
subs
- sm
-
java.lang.Throwable
public void replace_cfe(java.util.Hashtable subs, Node.SubMethod sm) throws ClassFileException
ClassFileException
public void findLabels()
public void clearTmps()
public void findRoles()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |