All Packages Class Hierarchy This Package Previous Next Index
Class harpoon.IR.QuadSSA.COMPONENTOF
java.lang.Object
|
+----harpoon.IR.QuadSSA.Quad
|
+----harpoon.IR.QuadSSA.COMPONENTOF
- public class COMPONENTOF
- extends Quad
COMPONENTOF
objects implement the test needed to determine
if an ASET
needs to throw an exception. Specifically,
COMPONENTOF
evaluates to boolean true
if
a certain temporary is a instance of the component type of a certain
array, or boolean false
otherwise.
- Version:
- $Id: COMPONENTOF.java,v 1.7 1998/10/11 02:37:56 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
- See Also:
- ASET, "The
-
arrayref
- The array object to test.
-
dst
- The temp in which to store the result of the evaluation.
-
objectref
- The compoment object to test.
-
COMPONENTOF(HCodeElement, Temp, Temp, Temp)
- Creates a
COMPONENTOF
.
-
def()
- Returns the
Temp
s defined by this quad.
-
renameDefs(TempMap)
- Rename all defined variables in this Quad according to a mapping.
-
renameUses(TempMap)
- Rename all used variables in this Quad according to a mapping.
-
toString()
- Returns a human-readable representation of this Quad.
-
use()
- Returns the
Temp
s used by this quad.
-
visit(QuadVisitor)
- Accept a visitor.
dst
public Temp dst
- The temp in which to store the result of the evaluation.
arrayref
public Temp arrayref
- The array object to test.
objectref
public Temp objectref
- The compoment object to test.
COMPONENTOF
public COMPONENTOF(HCodeElement source,
Temp dst,
Temp arrayref,
Temp objectref)
- Creates a
COMPONENTOF
.
use
public Temp[] use()
- Returns the
Temp
s used by this quad.
- Overrides:
- use in class Quad
def
public Temp[] def()
- Returns the
Temp
s defined by this quad.
- Overrides:
- def in class Quad
renameUses
public void renameUses(TempMap tm)
- Rename all used variables in this Quad according to a mapping.
- Overrides:
- renameUses in class Quad
renameDefs
public void renameDefs(TempMap tm)
- Rename all defined variables in this Quad according to a mapping.
- Overrides:
- renameDefs in class Quad
visit
public void visit(QuadVisitor v)
- Accept a visitor.
- Overrides:
- visit in class Quad
toString
public String toString()
- Returns a human-readable representation of this Quad.
- Overrides:
- toString in class Quad
All Packages Class Hierarchy This Package Previous Next Index