C:/Users/Dennis/src/lang/russell.orig/src/pass5d/compile_stubs.c File Reference

#include "parm.h"
#include <stdio.h>
#include "stree/ststructs.mh"
#include "codegen.h"
#include "op_codes.h"
#include "pass4/sigs.h"
#include "pass3/is_local.h"
#include <ctype.h>

Go to the source code of this file.

Defines

#define DEBUG

Functions

boolean valid_C_id (char *s)
void compile_stub (char *nm, NODE *sig, char *lbl, char *ar_lbl, int i)
void compile_stubs (NODE *tsig, char *lbl, char *ar_lbl)

Variables

int yydebug
int yynerrs
FILE * unparse_file
FILE * Goutfile
char str_code_buf []
int avail_loc
int Glevel
NODEGcurrent
boolean Vflag
boolean Nflag
boolean Oflag
boolean xflag


Define Documentation

#define DEBUG

Definition at line 1 of file compile_stubs.c.


Function Documentation

void compile_stub ( char *  nm,
NODE sig,
char *  lbl,
char *  ar_lbl,
int  i 
)

Definition at line 56 of file compile_stubs.c.

References ALH, ARG, ASSERT, avail_loc, BSF, CLI, CLL, DCL, DCL_ADDR, DCL_INT, DEA, EXT, FO_EP, FO_IP, FO_SIZE, GAR, gen0, gen1, gen2, gen3, genl, GF, GFU, HINT, LBA, LDI, LDL, LDN, length(), n_args, n_vacuous_params(), NIL, RTN, STI, str_code_buf, T1, T2, UDC, and xflag.

Referenced by compile_stubs().

void compile_stubs ( NODE tsig,
char *  lbl,
char *  ar_lbl 
)

Definition at line 182 of file compile_stubs.c.

References compile_stub(), errmsg0, errmsg1, getname(), sig_structure(), and valid_C_id().

Referenced by GgenerateXcode().

boolean valid_C_id ( char *  s  ) 

Definition at line 36 of file compile_stubs.c.

References FALSE, and TRUE.

Referenced by compile_stubs().


Variable Documentation

int avail_loc

Definition at line 15 of file extract_sig.c.

NODE* Gcurrent

Definition at line 128 of file codegen.c.

int Glevel

Definition at line 126 of file codegen.c.

FILE* Goutfile

Definition at line 129 of file codegen.c.

boolean Nflag

Definition at line 131 of file main.c.

Referenced by bld_analyze(), calls_callcc(), findmpsig(), findsig(), Gappl(), main(), and Vallocate().

boolean Oflag

Definition at line 135 of file main.c.

char str_code_buf[]

Definition at line 39 of file appl.c.

FILE* unparse_file

Definition at line 6 of file unparse.c.

boolean Vflag

Definition at line 6 of file extract_sig.c.

boolean xflag

Definition at line 139 of file main.c.

Referenced by compile_stub(), GgenerateXcode(), and main().

int yydebug

Definition at line 58 of file scan.c.

int yynerrs

Definition at line 31 of file testvertex.c.


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