C:/Users/Dennis/src/lang/russell.orig/src/pass4/fixhints.c File Reference

#include <stdio.h>
#include "parm.h"
#include "stree/ststructs.mh"
#include "pass1/stt/sttdefs.h"
#include "sigs.h"
#include "../pass3/is_local.h"

Go to the source code of this file.

Defines

#define DEBUG
#define TRACE
#define IFTRACE(x)
#define make_consistent(field, val)   if (sig -> field != sig2 -> field) {ncopy -> field = val;}
#define UNKNOWN   -1

Functions

NODEfixhints (NODE *sig, NODE *sig2)
long int_value (NODE *e)
void fix_array_sig (NODE *sig, NODE *size, NODE *etype)
void clear_slink_known (NODE *sig)
NODEclear_construction (NODE *sig)

Variables

unsigned stplinks []
FILE * unparse_file


Define Documentation

#define DEBUG

Definition at line 1 of file fixhints.c.

#define IFTRACE (  ) 

Definition at line 8 of file fixhints.c.

#define make_consistent ( field,
val   )     if (sig -> field != sig2 -> field) {ncopy -> field = val;}

Referenced by fixhints().

#define TRACE

Definition at line 2 of file fixhints.c.

#define UNKNOWN   -1

Definition at line 228 of file fixhints.c.

Referenced by fix_array_sig(), and int_value().


Function Documentation

NODE* clear_construction ( NODE sig  ) 

Definition at line 443 of file fixhints.c.

References addright(), copynode(), dbgmsg, ERR_SIG, FALSE, NIL, TRUE, and vfree.

Referenced by unshare1().

void clear_slink_known ( NODE sig  ) 

Definition at line 393 of file fixhints.c.

References dbgmsg, ERR_SIG, FALSE, and NIL.

Referenced by findapplsig(), findmpsig(), and findsig().

void fix_array_sig ( NODE sig,
NODE size,
NODE etype 
)

Definition at line 301 of file fixhints.c.

References ERR_SIG, FALSE, getcomp(), id_New, id_ValueOf, indx_New, indx_size, indx_subscr, indx_ValueOf, int_value(), NIL, sig_structure(), UNKNOWN, unparse(), and unparse_file.

Referenced by findapplsig().

NODE* fixhints ( NODE sig,
NODE sig2 
)

Definition at line 37 of file fixhints.c.

References addright(), copynode(), dbgmsg, ERR_SIG, FALSE, fixhints(), free, IFTRACE, length(), make_consistent, malloc, NIL, TRUE, unparse(), and unparse_file.

long int_value ( NODE e  ) 

Definition at line 230 of file fixhints.c.

References id_Integer, indx_plus, NIL, and UNKNOWN.

Referenced by fix_array_sig().


Variable Documentation

unsigned stplinks[]

FILE* unparse_file

Definition at line 6 of file unparse.c.


Generated on Fri Jan 25 10:39:49 2008 for russell by  doxygen 1.5.4