harpoon.Analysis.EnvBuilder
Class EnvCode

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.EnvBuilder.EnvCode
All Implemented Interfaces:
Graph<Quad,Edge>, Serializable

public class EnvCode
extends QuadSSI

EnvCode

Version:
$Id: EnvCode.java,v 1.3 2003/03/11 18:22:09 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
EnvCode(HMethod parent, HField[] fields, Linker linker)
          Creates a EnvCode.
 
Method Summary
 HCodeAndMaps<Quad> clone(HMethod newMethod)
          Clone this code representation.
 String getName()
          Return the name of this code view.
 
Methods inherited from class harpoon.IR.Quads.QuadSSI
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

EnvCode

public EnvCode(HMethod parent,
               HField[] fields,
               Linker linker)
Creates a EnvCode.

Method Detail

clone

public HCodeAndMaps<Quad> clone(HMethod newMethod)
Clone this code representation. The clone has its own copy of the quad graph.

Overrides:
clone in class QuadSSI

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.