2 import IR.TagVarDescriptor;
4 public class TempTagPair {
8 public TempTagPair(TempDescriptor td, TagVarDescriptor tvd) {
12 public int hashCode() {
14 return tvd.hashCode()^td.hashCode();
19 public TempDescriptor getTemp() {
23 public TagVarDescriptor getTag() {
27 public boolean equals(Object o) {
28 if (!(o instanceof TempTagPair))
30 TempTagPair ttp=(TempTagPair)o;
31 return ttp.tvd==tvd&&(ttp.td==td);
34 public String toString() {
35 return "<"+tvd+","+td+">";