at.dms.backend
Class ControlFlow
java.lang.Object
at.dms.backend.ControlFlow
public class ControlFlow
- extends Object
This is the entry point of the backend, this class constructs the
control flow graf and applies optimizations
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControlFlow
public ControlFlow(at.dms.backend.MethodEnv env,
InstructionHandle start,
HandlerInfo[] handlers)
- Creates a new instruction handle.
(Probably buggy description from cut and paste -- deleted references to wrong parameters)
trace
public void trace()
- Prints a trace of the control flow structure
optimize
public void optimize()
getInstructions
public InstructionHandle getInstructions()
findBasicBlock
public static at.dms.backend.BasicBlock findBasicBlock(InstructionHandle handle)
setMarked
protected static final void setMarked(at.dms.backend.BasicBlock[] bblocks,
boolean marked)