harpoon.Analysis.EventDriven
Class ContCodeSSI

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

public class ContCodeSSI
extends QuadSSI

ContCodeSSI builds the code for a Continuation using quad-no-ssa HCode.

Version:
$Id: ContCodeSSI.java,v 1.2 2002/02/25 20:57:01 cananian Exp $
Author:
Karen K. Zee <kkz@alum.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
 
Fields inherited from class harpoon.IR.Quads.QuadSSI
codename, KEEP_QUAD_MAP_HACK
 
Fields inherited from class harpoon.IR.Quads.Code
ai, parent, qf, quads
 
Constructor Summary
ContCodeSSI(HMethod parent)
          Creates a ContCodeSSI for an HMethod using the HCode from which we want to build the continuation and the CALL at which we want the continuation built.
ContCodeSSI(QuadNoSSA qns)
           
 
Method Summary
 QuadFactory getFactory()
           
 String getName()
          Return the name of this code view.
 void quadSet(Quad q)
           
 
Methods inherited from class harpoon.IR.Quads.QuadSSI
clone, codeFactory, codeFactory, getQuadMapNoSSA2SSI, getQuadMapSSI2NoSSA, notifyReplace
 
Methods inherited from class harpoon.IR.Quads.Code
cloneHelper, cloneHelper, elementArrayFactory, getAllocationInformation, getDerivation, getElements, getElementsI, getLeafElements, getMethod, getRootElement, newQF, nodes, 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
 

Constructor Detail

ContCodeSSI

public ContCodeSSI(HMethod parent)
Creates a ContCodeSSI for an HMethod using the HCode from which we want to build the continuation and the CALL at which we want the continuation built. The HCode must be quad-no-ssa.


ContCodeSSI

public ContCodeSSI(QuadNoSSA qns)
Method Detail

getName

public String getName()
Return the name of this code view.

Overrides:
getName in class QuadSSI
Returns:
the name of the parent's code view.

quadSet

public void quadSet(Quad q)

getFactory

public QuadFactory getFactory()