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>

Variable Index

 o lock
The object containing the monitor to be released.

Constructor Index

 o MONITOREXIT(HCodeElement, Temp)
Creates a MONITOREXIT.

Method Index

 o renameUses(TempMap)
Rename all used variables in this Quad according to a mapping.
 o toString()
Returns a human-readable representation.
 o use()
Returns the Temp used by this Quad.
 o visit(QuadVisitor)
Accept a visitor.

Variables

 o lock
 public Temp lock
The object containing the monitor to be released.

Constructors

 o 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.

Methods

 o use
 public Temp[] use()
Returns the Temp used by this Quad.

Returns:
the lock field.
Overrides:
use in class Quad
 o renameUses
 public void renameUses(TempMap tm)
Rename all used variables in this Quad according to a mapping.

Overrides:
renameUses in class Quad
 o visit
 public void visit(QuadVisitor v)
Accept a visitor.

Overrides:
visit in class Quad
 o toString
 public String toString()
Returns a human-readable representation.

Overrides:
toString in class Quad

All Packages  Class Hierarchy  This Package  Previous  Next  Index