harpoon.IR.Assem
Class InstrEdge
java.lang.Object
|
+--harpoon.IR.Properties.CFGEdge
|
+--harpoon.IR.Assem.InstrEdge
- All Implemented Interfaces:
- HCodeEdge
- public class InstrEdge
- extends CFGEdge
InstrEdge
is an object representing an edge between
two Instr
s.
- Version:
- $Id: InstrEdge.java,v 1.2 2002/02/25 21:04:11 cananian Exp $
- Author:
- Felix S. Klock II <pnkfelix@mit.edu>
Methods inherited from class harpoon.IR.Properties.CFGEdge |
from, to |
from
public final Instr from
to
public final Instr to
InstrEdge
public InstrEdge(Instr from,
Instr to)
- Creates a
InstrEdge
representing
< from, to > .
toCFG
public CFGraphable toCFG()
- Description copied from class:
CFGEdge
- Returns the destination of this
HCodeEdge
.
- Specified by:
toCFG
in class CFGEdge
fromCFG
public CFGraphable fromCFG()
- Description copied from class:
CFGEdge
- Returns the source of this
CFGEdge
.
- Specified by:
fromCFG
in class CFGEdge
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object