harpoon.Backend.Generic
Class TempBuilder

java.lang.Object
  extended by harpoon.Backend.Generic.TempBuilder
Direct Known Subclasses:
TempBuilder, TempBuilder

public abstract class TempBuilder
extends Object

TempBuilder defines an interface that general program transformations can call to generate data structures to represent Temps.

This allows Backend writers to make their own extensions of Temp to make handling different value types easier.

Version:
$Id: TempBuilder.java,v 1.2 2002/02/25 21:01:28 cananian Exp $
Author:
Felix S. Klock II <pnkfelix@mit.edu>

Constructor Summary
TempBuilder()
          Creates a TempBuilder.
 
Method Summary
abstract  Temp makeTemp(Typed t, TempFactory tf)
          Makes a Temp for storing values with the same type as t.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TempBuilder

public TempBuilder()
Creates a TempBuilder.

Method Detail

makeTemp

public abstract Temp makeTemp(Typed t,
                              TempFactory tf)
Makes a Temp for storing values with the same type as t.