All Packages Class Hierarchy This Package Previous Next Index
Class harpoon.IR.QuadSSA.MONITOREXIT
java.lang.Object
|
+----harpoon.IR.QuadSSA.Quad
|
+----harpoon.IR.QuadSSA.MONITOREXIT
- public class MONITOREXIT
- extends Quad
MONITOREXIT
releases the monitor lock of a particular
object. Note that these java "monitors" are really a flavor of
recursive lock; see the
Java
hall of shame for more details. The MONITOREXIT
quad works the same way as the java monitorexit
bytecode.
See the JVM spec for details.
- Version:
- $Id: MONITOREXIT.java,v 1.2 1998/10/11 02:37:57 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
-
lock
- The object containing the monitor to be released.
-
MONITOREXIT(HCodeElement, Temp)
- Creates a
MONITOREXIT
.
-
renameUses(TempMap)
- Rename all used variables in this Quad according to a mapping.
-
toString()
- Returns a human-readable representation.
-
use()
- Returns the Temp used by this Quad.
-
visit(QuadVisitor)
- Accept a visitor.
lock
public Temp lock
- The object containing the monitor to be released.
MONITOREXIT
public MONITOREXIT(HCodeElement source,
Temp lock)
- Creates a
MONITOREXIT
. Code after a
MONITORENTER
referencing the same object
and before this point is protected by the monitor.
use
public Temp[] use()
- Returns the Temp used by this Quad.
- Returns:
- the
lock
field.
- Overrides:
- use 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
visit
public void visit(QuadVisitor v)
- Accept a visitor.
- Overrides:
- visit in class Quad
toString
public String toString()
- Returns a human-readable representation.
- Overrides:
- toString in class Quad
All Packages Class Hierarchy This Package Previous Next Index