|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Backend.Generic.GCInfo.WrappedStackOffsetLoc
public static class GCInfo.WrappedStackOffsetLoc
WrappedStackOffsetLoc
is a wrapper object for
StackOffsetLoc
s that implement special
equals
and hashCode
methods.
Two StackOffsetLoc
objects are equal
if the underlying StackOffsetLoc
s represent
the same stack offset.
Field Summary | |
---|---|
protected RegFileInfo.StackOffsetLoc |
sol
|
Constructor Summary | |
---|---|
GCInfo.WrappedStackOffsetLoc(RegFileInfo.StackOffsetLoc sol)
Creates a WrappedStackOffsetLoc object |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Compares two WrappedStackOffsetLoc objects
for equality. |
int |
hashCode()
Returns the hash code value for the object. |
int |
stackOffset()
Returns the abstract stack offset of underlying StackOffsetLoc . |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected RegFileInfo.StackOffsetLoc sol
Constructor Detail |
---|
public GCInfo.WrappedStackOffsetLoc(RegFileInfo.StackOffsetLoc sol)
WrappedStackOffsetLoc
object
Method Detail |
---|
public int stackOffset()
StackOffsetLoc
. The absolute location
in memory to which a stack offset refers is
context-dependent. For example, the stack offset of
an object in one method may have the same abstract
value as the stack offset of another object in a
different method, but they do not necessarily refer
to the same absolute location in the stack.
The stack offset returned is identical to what is
returned by the stackOffset
method of
the underlying StackOffsetLoc
object.
public boolean equals(Object obj)
WrappedStackOffsetLoc
objects
for equality. Two WrappedStackOffsetLoc
objects are equal if they refer to the same abstract
stack offset.
equals
in class Object
public int hashCode()
WrappedStackOffsetLoc
return the same hash
code if the underlying StackOffsetLoc
refer
to the same abstract stack offset.
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |