harpoon.IR.Quads
Class ResilientNoSSA

java.lang.Object
  extended by harpoon.ClassFile.HCode<Quad>
      extended by harpoon.IR.Quads.Code
          extended by harpoon.IR.Quads.ResilientNoSSA
All Implemented Interfaces:
Graph<Quad,Edge>, Serializable

public class ResilientNoSSA
extends Code

ResilientNoSSA is a code view with resilient exception handling. It does not have HANDLER quads, and is not in SSA form.

Version:
$Id: ResilientNoSSA.java,v 1.3 2003/03/15 23:24:58 kkz Exp $
Author:
Karen Zee <kkz@tmi.lcs.mit.edu>
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class harpoon.ClassFile.HCode
HCode.PrintCallback<HCE extends HCodeElement>
 
Nested classes/interfaces inherited from interface harpoon.Util.Collections.Graph
Graph.Edge<N extends Graph.Node<N,E>,E extends Graph.Edge<N,E>>, Graph.Node<N extends Graph.Node<N,E>,E extends Graph.Edge<N,E>>
 
Field Summary
static String codename
          The name of this code view.
 
Fields inherited from class harpoon.IR.Quads.Code
ai, parent, qf, quads
 
Constructor Summary
protected ResilientNoSSA(HMethod parent, Quad quads)
           
 
Method Summary
 HCodeAndMaps<Quad> clone(HMethod newMethod)
          Clone this code representation.
static HCodeFactory codeFactory(HCodeFactory hcf, ClassHierarchy ch)
          Return a code factory for ResilientNoSSA, given a code factory for QuadWithTry.
 String getName()
          Return the name of this code view.
 
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
 
Methods inherited from class harpoon.ClassFile.HCode
clone, elementIndexer, getElementsL, print, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

codename

public static final String codename
The name of this code view.

See Also:
Constant Field Values
Constructor Detail

ResilientNoSSA

protected ResilientNoSSA(HMethod parent,
                         Quad quads)
Method Detail

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-no-ssa".

codeFactory

public static HCodeFactory codeFactory(HCodeFactory hcf,
                                       ClassHierarchy ch)
Return a code factory for ResilientNoSSA, given a code factory for QuadWithTry. Given a code factory for Bytecode, chain through QuadWithTry.codeFactory().