at.dms.kjc.spacedynamic
Class ConvertLonelyReceives

java.lang.Object
  extended by at.dms.kjc.spacedynamic.ConvertLonelyReceives

public class ConvertLonelyReceives
extends Object

This class converts network receives that are not assigned to a variable or used in an enclosing expression, into assignments to a dummy variable, so they are not optimized out by GCC.


Field Summary
static String VARNAME
           
 
Constructor Summary
ConvertLonelyReceives()
           
 
Method Summary
static void doit(SpdStaticStreamGraph ssg, FlatNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VARNAME

public static final String VARNAME
See Also:
Constant Field Values
Constructor Detail

ConvertLonelyReceives

public ConvertLonelyReceives()
Method Detail

doit

public static void doit(SpdStaticStreamGraph ssg,
                        FlatNode node)