FlowGraph
Class AssemFlowGraph

java.lang.Object
  extended by Graph.Graph<K,N>
      extended by FlowGraph.FlowGraph<Instr,AssemNode>
          extended by FlowGraph.AssemFlowGraph

public class AssemFlowGraph
extends FlowGraph<Instr,AssemNode>


Constructor Summary
AssemFlowGraph(Frame frame, java.util.LinkedList<Instr> insns)
          My implementation builds a flowgraph node per basic block.
 
Method Summary
 java.util.Set<Temp> def(AssemNode node)
          The set of temporaries defined by this instruction or block
 java.util.Set<Temp> use(AssemNode node)
          The set of temporaries used by this instruction or block
 
Methods inherited from class FlowGraph.FlowGraph
show
 
Methods inherited from class Graph.Graph
addEdge, get, nodes, rmEdge, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssemFlowGraph

public AssemFlowGraph(Frame frame,
                      java.util.LinkedList<Instr> insns)
My implementation builds a flowgraph node per basic block.

Method Detail

def

public java.util.Set<Temp> def(AssemNode node)
Description copied from class: FlowGraph
The set of temporaries defined by this instruction or block

Specified by:
def in class FlowGraph<Instr,AssemNode>

use

public java.util.Set<Temp> use(AssemNode node)
Description copied from class: FlowGraph
The set of temporaries used by this instruction or block

Specified by:
use in class FlowGraph<Instr,AssemNode>