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 .
- Version:
- $Id: Code.java,v 1.2 1998/10/16 12:09:59 cananian Exp $
- Author:
- Nate Kushman <nkushman@lcs.mit.edu>
-
Code(Code)
- Creates a
Code
object from a bytecode object.
-
createJavaByte(TypeMap, HCode)
-
-
getElements()
- Returns an ordered list of the
Quad
s
making up this code view.
-
getElementsE()
- Return an Enumeration of the component objects making up this
code view.
-
getLeafElements()
- Returns the leaves of the control flow graph.
-
getMethod()
- Return the
HMethod
this codeview
belongs to.
-
getName()
- Return the name of this code view.
-
getRootElement()
- Returns the root of the control flow graph.
-
register()
-
Code
public Code(Code ssa)
- Creates a
Code
object from a bytecode object.
createJavaByte
public NMethod createJavaByte(TypeMap map,
HCode quadform)
getMethod
public HMethod getMethod()
- Return the
HMethod
this codeview
belongs to.
- Overrides:
- getMethod in class HCode
getName
public String getName()
- Return the name of this code view.
- Returns:
- the string
"quad-ssa"
.
- Overrides:
- getName in class HCode
register
public static void register()
getRootElement
public HCodeElement getRootElement()
- Returns the root of the control flow graph.
- Overrides:
- getRootElement in class HCode
getLeafElements
public HCodeElement[] getLeafElements()
- Returns the leaves of the control flow graph.
- Overrides:
- getLeafElements in class HCode
getElements
public HCodeElement[] getElements()
- Returns an ordered list of the
Quad
s
making up this code view. The root of the graph
is in element 0 of the array.
- Overrides:
- getElements in class HCode
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