|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Backend.Generic.GCInfo.WrappedMachineRegLoc
public static class GCInfo.WrappedMachineRegLoc
WrappedMachineRegLoc
is a wrapper object for
MachineRegLoc
s that implement special
equals
and hashCode
methods.
Two WrappedMachineRegLoc
objects are equal
if the underlying MachineRegLoc
s represent
the same register.
Field Summary | |
---|---|
protected RegFileInfo.MachineRegLoc |
mrl
|
Constructor Summary | |
---|---|
GCInfo.WrappedMachineRegLoc(RegFileInfo.MachineRegLoc mrl)
Creates a WrappedMachineRegLoc object |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Compares two WrappedMachineRegLoc objects
for equality. |
int |
hashCode()
Returns the hash code value for the object. |
int |
regIndex()
Returns the abstract index of underlying MachineRegLoc in the register file. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected RegFileInfo.MachineRegLoc mrl
Constructor Detail |
---|
public GCInfo.WrappedMachineRegLoc(RegFileInfo.MachineRegLoc mrl)
WrappedMachineRegLoc
object
Method Detail |
---|
public int regIndex()
MachineRegLoc
in the register file.
The index returned is identical to what is
returned by the regIndex
method of
the underlying MachineRegLoc
object.
public boolean equals(Object obj)
WrappedMachineRegLoc
objects
for equality. Two WrappedMachineRegLoc
objects are equal if they represent the same register.
equals
in class Object
public int hashCode()
WrappedMachineRegLoc
return the same hash
code if the underlying MachineRegLoc
objects represent the same register.
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |