harpoon.Analysis.ContBuilder
Class ContBuilder
java.lang.Object
harpoon.Analysis.ContBuilder.ContBuilder
public class ContBuilder
- extends Object
ContBuilder builds continuations for a given CALL
using the CALL's HCode, storing the
Code for the continuation in the
CachingCodeFactory. The generated Code is in
quad-no-ssa form.
- Version:
- $Id: ContBuilder.java,v 1.2 2002/02/25 20:56:16 cananian Exp $
- Author:
- Karen K. Zee <kkz@alum.mit.edu>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ucf
protected final CachingCodeFactory ucf
hc
protected final HCode hc
c
protected final CALL c
env
protected final HClass env
live
protected final Temp[] live
ContBuilder
public ContBuilder(CachingCodeFactory ucf,
HCode hc,
CALL c,
HClass env,
Temp[] live)
- Creates a
ContBuilder for the designated
CALL, given the HCode from which it came.
Requires that the HCode be quad-no-ssa.
getPrefix
public static String getPrefix(HClass t)
- Builds the continuation. Returns the
HClass.
- Returns:
- the continuation
HClass