harpoon.Analysis.EventDriven
Class ContCode

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

public class ContCode
extends QuadRSSx

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

Version:
$Id: ContCode.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.QuadRSSx
codename
 
Fields inherited from class harpoon.IR.Quads.Code
ai, parent, qf, quads
 
Constructor Summary
ContCode(HMethod parent)
          Creates a ContCode for an HMethod using the HCode from which we want to build the continuation and the CALL at which we want the continuation built.
 
Method Summary
 QuadFactory getFactory()
           
 String getName()
          Return the name of this code view.
 void quadSet(Quad q)
           
 
Methods inherited from class harpoon.IR.Quads.QuadRSSx
clone, codeFactory
 
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
 

Constructor Detail

ContCode

public ContCode(HMethod parent)
Creates a ContCode 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.

Method Detail

getName

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

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

quadSet

public void quadSet(Quad q)

getFactory

public QuadFactory getFactory()