harpoon.IR.Assem
Class InstrEdge
java.lang.Object
harpoon.IR.Properties.CFGEdge<Instr,InstrEdge>
harpoon.IR.Assem.InstrEdge
- All Implemented Interfaces:
- HCodeEdge<Instr>, Graph.Edge<Instr,InstrEdge>
public class InstrEdge
- extends CFGEdge<Instr,InstrEdge>
InstrEdge is an object representing an edge between
two Instrs.
- Version:
- $Id: InstrEdge.java,v 1.5 2003/05/09 16:35:26 cananian Exp $
- Author:
- Felix S. Klock II <pnkfelix@mit.edu>
from
public final Instr from
to
public final Instr to
InstrEdge
public InstrEdge(Instr from,
Instr to)
- Creates a
InstrEdge representing
< from, to > .
to
public Instr to()
- Description copied from class:
CFGEdge
- Returns the destination of this
HCodeEdge.
The return value is guaranteed to implement to
CFGraphable interface.
- Specified by:
to in interface HCodeEdge<Instr>- Specified by:
to in interface Graph.Edge<Instr,InstrEdge>- Specified by:
to in class CFGEdge<Instr,InstrEdge>
from
public Instr from()
- Description copied from class:
CFGEdge
- Returns the source of this
CFGEdge.
The return value is guaranteed to implement to
CFGraphable interface.
- Specified by:
from in interface HCodeEdge<Instr>- Specified by:
from in interface Graph.Edge<Instr,InstrEdge>- Specified by:
from in class CFGEdge<Instr,InstrEdge>
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