All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class harpoon.IR.QuadNoSSA.Code

java.lang.Object
   |
   +----harpoon.ClassFile.HCode
           |
           +----harpoon.IR.QuadNoSSA.Code

public class Code
extends HCode
QuadNoSSA.Code is fill me in.

Version:
$Id: Code.java,v 1.2 1998/10/16 12:09:59 cananian Exp $
Author:
Nate Kushman <nkushman@lcs.mit.edu>

Constructor Index

 o Code(Code)
Creates a Code object from a bytecode object.

Method Index

 o createJavaByte(TypeMap, HCode)
 o getElements()
Returns an ordered list of the Quads making up this code view.
 o getElementsE()
Return an Enumeration of the component objects making up this code view.
 o getLeafElements()
Returns the leaves of the control flow graph.
 o getMethod()
Return the HMethod this codeview belongs to.
 o getName()
Return the name of this code view.
 o getRootElement()
Returns the root of the control flow graph.
 o register()

Constructors

 o Code
 public Code(Code ssa)
Creates a Code object from a bytecode object.

Methods

 o createJavaByte
 public NMethod createJavaByte(TypeMap map,
                               HCode quadform)
 o getMethod
 public HMethod getMethod()
Return the HMethod this codeview belongs to.

Overrides:
getMethod in class HCode
 o getName
 public String getName()
Return the name of this code view.

Returns:
the string "quad-ssa".
Overrides:
getName in class HCode
 o register
 public static void register()
 o getRootElement
 public HCodeElement getRootElement()
Returns the root of the control flow graph.

Overrides:
getRootElement in class HCode
 o getLeafElements
 public HCodeElement[] getLeafElements()
Returns the leaves of the control flow graph.

Overrides:
getLeafElements in class HCode
 o getElements
 public HCodeElement[] getElements()
Returns an ordered list of the Quads making up this code view. The root of the graph is in element 0 of the array.

Overrides:
getElements in class HCode
 o getElementsE
 public Enumeration getElementsE()
Return an Enumeration of the component objects making up this code view.

Overrides:
getElementsE in class HCode

All Packages  Class Hierarchy  This Package  Previous  Next  Index