harpoon.Analysis.EnvBuilder
Class EnvBuilder

java.lang.Object
  extended by harpoon.Analysis.EnvBuilder.EnvBuilder

public class EnvBuilder
extends Object

EnvBuilder

Version:
$Id: EnvBuilder.java,v 1.6 2004/02/08 01:51:56 cananian Exp $
Author:
Karen K. Zee <kkz@alum.mit.edu>

Field Summary
protected static int counter
           
protected  HCode hc
           
protected  HCodeElement hce
           
protected  Linker linker
           
 Temp[] liveout
           
protected  boolean recycle
           
protected  TypeMap typemap
           
protected  CachingCodeFactory ucf
           
 
Constructor Summary
EnvBuilder(CachingCodeFactory ucf, HCode hc, HCodeElement hce, Temp[] lives, Linker linker, TypeMap typemap, boolean recycle)
          Creates a EnvBuilder.
 
Method Summary
 HClass makeEnv()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ucf

protected final CachingCodeFactory ucf

hc

protected final HCode hc

hce

protected final HCodeElement hce

counter

protected static int counter

liveout

public Temp[] liveout

linker

protected final Linker linker

typemap

protected TypeMap typemap

recycle

protected boolean recycle
Constructor Detail

EnvBuilder

public EnvBuilder(CachingCodeFactory ucf,
                  HCode hc,
                  HCodeElement hce,
                  Temp[] lives,
                  Linker linker,
                  TypeMap typemap,
                  boolean recycle)
Creates a EnvBuilder. Requires that the HCode and HCodeElement objects be in quad-no-ssa form because QuadLiveness works with quad-no-ssa. HCodeFactory must be an CachingCodeFactory.

Method Detail

makeEnv

public HClass makeEnv()