harpoon.Util.TypeInference
Class ExactTemp
java.lang.Object
harpoon.Util.TypeInference.ExactTemp
- All Implemented Interfaces:
- Serializable
public class ExactTemp
- extends Object
- implements Serializable
ExactTemp
is simply a pair of a Quad
and a Temp
. This is usually used to represent the
temp t defined in instruction q to make the distinction between this
definition of t and some other one (this is particularly useful if
the code is not in the SSA form).
However, since an ExactTemp
is just a pair , it can
be used to simply denote the temp t used (not defined) in the instruction
q (as for example in the constructor of TypeInference
).
- Version:
- $Id: ExactTemp.java,v 1.2 2002/02/25 21:09:37 cananian Exp $
- Author:
- Alexandru SALCIANU <salcianu@retezat.lcs.mit.edu>
- See Also:
- Serialized Form
ExactTemp
public ExactTemp(Quad q,
Temp t)
- Creates a
ExactTemp
.
equals
public boolean equals(Object obj)
- Checks the equality of two
ExactTemp
s.
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Pretty printer for debug.
- Overrides:
toString
in class Object