C:/Users/Dennis/src/lang/russell.orig/src/pass5c/accessible.c File Reference

#include "parm.h"
#include <stdio.h>
#include "stree/ststructs.mh"
#include "codeutil.h"
#include "../runtime/runtime.h"
#include "pass3/is_local.h"
#include "pass4/sigs.h"

Go to the source code of this file.

Defines

#define DEBUG
#define VERBOSE
#define IFVERBOSE(x)

Functions

void add_objfile ()
boolean is_int_const ()
char * rindex ()
boolean eval_decl (NODE *p)
void add_extracted_objfile (char *entry_name)
 body_accessible (NODE *p)
 id_accessible (NODE *p)
 accessible (NODE *p)
void Vexpression ()
void fc_add ()
 Vtraverse (NODE *p)

Variables

FILE * Voutfile
FILE * unparse_file
NODEinsrtptr
boolean has_externs
boolean Tflag
boolean Gflag
boolean Vflag
boolean Oflag
unsigned indx_put
static int Clevel = -1
int Vlevel


Define Documentation

#define DEBUG

Definition at line 1 of file accessible.c.

#define IFVERBOSE (  ) 

Definition at line 29 of file accessible.c.

Referenced by accessible(), Gtraverse(), Vallocate(), and wl_has_comp().

#define VERBOSE

Definition at line 3 of file accessible.c.


Function Documentation

accessible ( NODE p  ) 

Definition at line 175 of file accessible.c.

References a, add_extracted_objfile(), ASSERT, body_accessible(), calls_put(), Clevel, comp_st(), dbgmsg, eval_decl(), findvl(), getrl(), Gflag, hascomp(), id_accessible(), IFVERBOSE, impure(), indx_put, is_id(), is_int_const(), label_decls(), label_wl(), MAXSTRLEN, NIL, Oflag, only_indirect_ref(), sig, sig_structure(), Tflag, TRUE, unparse(), unparse_file, v, and Vflag.

Referenced by body_accessible(), Ggeneratecode(), Ggeneratepcode(), GgenerateXcode(), id_accessible(), Vgeneratecode(), and Vgeneratepcode().

void add_extracted_objfile ( char *  entry_name  ) 

Definition at line 97 of file accessible.c.

References add_objfile(), free, malloc, and rindex().

Referenced by accessible().

void add_objfile (  ) 

Referenced by add_extracted_objfile(), main(), and read_signature().

body_accessible ( NODE p  ) 

Definition at line 126 of file accessible.c.

References accessible(), Clevel, and TRUE.

Referenced by accessible().

boolean eval_decl ( NODE p  ) 

Definition at line 61 of file accessible.c.

References calls_put(), declerr, declsig(), ERR_SIG, FALSE, has_externs, impure(), insrtptr, is_descendant, NIL, SUCCESS, and TRUE.

Referenced by accessible(), and construct_inline().

void fc_add (  ) 

Referenced by Vfuncconstructor(), and Vgeneratecode().

id_accessible ( NODE p  ) 

Definition at line 140 of file accessible.c.

References accessible(), Clevel, dbgmsg, is_int_const(), NIL, unparse(), and unparse_file.

Referenced by accessible().

boolean is_int_const (  ) 

Referenced by accessible(), construct_inline(), Fexpression(), Gappl(), get_complexity(), Gident(), id_accessible(), Vallocwalk(), and Vexpression().

char* rindex (  ) 

Referenced by add_extracted_objfile().

void Vexpression (  ) 

Referenced by type_expr(), Vappl(), Varg_trace(), Vexpression(), Vfuncbody(), and Vtraverse().

Vtraverse ( NODE p  ) 

Definition at line 537 of file accessible.c.

References ASSERT, decl_sort(), if(), NIL, POP_DISP, v, Vexpression(), and Vlevel.

Referenced by Vappl(), and Vexpression().


Variable Documentation

int Clevel = -1 [static]

Definition at line 50 of file accessible.c.

boolean Gflag

Definition at line 7 of file extract_sig.c.

boolean has_externs

Referenced by eval_decl().

unsigned indx_put

Definition at line 14 of file initids.c.

NODE* insrtptr

boolean Oflag

Definition at line 135 of file main.c.

boolean Tflag

Definition at line 128 of file main.c.

FILE* unparse_file

Definition at line 6 of file unparse.c.

boolean Vflag

Definition at line 6 of file extract_sig.c.

int Vlevel

Definition at line 108 of file codegen.c.

Referenced by Vexpression(), Vfuncbody(), Vfuncconstructor(), Vgeneratepcode(), and Vtraverse().

FILE* Voutfile

Definition at line 111 of file codegen.c.

Referenced by Fexpression(), Ffuncbody(), gen_special(), Vappl(), Varg_trace(), Vcall_mcount(), Ventry_trace(), Vexit_trace(), Vexpression(), Vfuncbody(), Vfuncconstructor(), Vgeneratecode(), Vgeneratepcode(), and Vnewreg().


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