harpoon.IR.Quads
Class QuadWithTry
java.lang.Object
harpoon.ClassFile.HCode<Quad>
harpoon.IR.Quads.Code
harpoon.IR.Quads.QuadWithTry
- All Implemented Interfaces:
- Graph<Quad,Edge>, Serializable
public class QuadWithTry
- extends Code
QuadWithTry
is a code view with explicit try-block
handlers. QuadWithTry
is not in SSA form.
- Version:
- $Id: QuadWithTry.java,v 1.3 2002/09/01 07:47:20 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
- See Also:
QuadNoSSA
,
QuadSSI
,
Serialized Form
Methods inherited from class harpoon.IR.Quads.Code |
cloneHelper, cloneHelper, elementArrayFactory, getAllocationInformation, getDerivation, getElements, getElementsI, getLeafElements, getMethod, getRootElement, newQF, nodes, notifyReplace, print, selectAllocations, selectCALLs, selectQuads, setAllocationInformation |
codename
public static final String codename
- The name of this code view.
- See Also:
- Constant Field Values
QuadWithTry
protected QuadWithTry(HMethod parent,
Quad quads)
clone
public HCodeAndMaps<Quad> clone(HMethod newMethod)
- Clone this code representation. The clone has its own copy of
the quad graph.
- Specified by:
clone
in class Code
getName
public String getName()
- Return the name of this code view.
- Specified by:
getName
in class Code
- Returns:
- the string
"quad-with-try"
.
codeFactory
public static HCodeFactory codeFactory(HCodeFactory hcf)
- Return a code factory for
QuadWithTry
, given a
code factory for Bytecode
or QuadNoSSA
.
Given a code factory for QuadSSI
, chain through
QuadNoSSA.codeFactory()
.
codeFactory
public static HCodeFactory codeFactory()
- Return a code factory for QuadWithTry, using the default
code factory for Bytecode.
typeMap
public TypeMap typeMap()
- Returns a TypeMap if there is one, or null otherwise