diff options
-rw-r--r-- | compile.h | 2 | ||||
-rw-r--r-- | flow.h | 5 | ||||
-rw-r--r-- | ptrlist.h | 2 | ||||
-rw-r--r-- | scope.h | 2 | ||||
-rw-r--r-- | storage.h | 3 |
5 files changed, 14 insertions, 0 deletions
@@ -1,6 +1,8 @@ #ifndef COMPILE_H #define COMPILE_H +struct symbol; + extern void emit_one_symbol(struct symbol *); extern void emit_unit_begin(const char *); extern void emit_unit_end(void); @@ -1,11 +1,16 @@ #ifndef FLOW_H #define FLOW_H +#include "lib.h" + extern unsigned long bb_generation; #define REPEAT_CSE 1 #define REPEAT_SYMBOL_CLEANUP 2 +struct entrypoint; +struct instruction; + extern int simplify_flow(struct entrypoint *ep); extern void simplify_symbol_usage(struct entrypoint *ep); @@ -1,6 +1,8 @@ #ifndef PTR_LIST_H #define PTR_LIST_H +#include <stdlib.h> + /* * Generic pointer list manipulation code. * @@ -9,6 +9,8 @@ * Licensed under the Open Software License version 1.1 */ +struct symbol; + struct scope { struct token *token; /* Scope start information */ struct symbol_list *symbols; /* List of symbols in this scope */ @@ -1,6 +1,9 @@ #ifndef STORAGE_H #define STORAGE_H +#include "allocate.h" +#include "lib.h" + /* * The "storage" that underlies an incoming/outgoing pseudo. It's * basically the backing store for a pseudo, and may be a real hardware |