diff options
author | crux <crux@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-09 14:00:21 +0000 |
---|---|---|
committer | crux <crux@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-09 14:00:21 +0000 |
commit | 0a893c29f8f2c3ad8542047218b2c1d5a9337046 (patch) | |
tree | 0c9ea6c13240638f450e4b7c92af4127356208c0 /gcc/config/ns32k | |
parent | 2c440a1334f71402905241113ec103d0e92d165e (diff) | |
download | gcc-0a893c29f8f2c3ad8542047218b2c1d5a9337046.tar.gz |
Include function.h in most files. Remove most of the global variables
duplicated in function.h. Add accessor macros for them which access
current_function. Delete INLINE_HEADER rtx and related code, replace
with code using struct function to store inlining related data.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28626 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/ns32k')
-rw-r--r-- | gcc/config/ns32k/ns32k.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/config/ns32k/ns32k.h b/gcc/config/ns32k/ns32k.h index d409ac26408..5e0268c64c0 100644 --- a/gcc/config/ns32k/ns32k.h +++ b/gcc/config/ns32k/ns32k.h @@ -711,7 +711,6 @@ enum reg_class int used_regs_buf[8], *bufp = used_regs_buf; \ int used_fregs_buf[17], *fbufp = used_fregs_buf; \ extern char call_used_regs[]; \ - extern int current_function_uses_pic_offset_table, flag_pic; \ MAIN_FUNCTION_PROLOGUE; \ for (regno = R0_REGNUM; regno < F0_REGNUM; regno++) \ if (regs_ever_live[regno] \ @@ -836,7 +835,6 @@ enum reg_class int used_regs_buf[8], *bufp = used_regs_buf; \ int used_fregs_buf[17], *fbufp = used_fregs_buf; \ extern char call_used_regs[]; \ - extern int current_function_uses_pic_offset_table, flag_pic; \ if (flag_pic && current_function_uses_pic_offset_table) \ fprintf (FILE, "\tlprd sb,tos\n"); \ *fbufp++ = -2; \ @@ -898,7 +896,6 @@ enum reg_class { \ int regno; \ int offset = -4; \ - extern int current_function_uses_pic_offset_table, flag_pic; \ for (regno = 0; regno < L1_REGNUM; regno++) \ if (regs_ever_live[regno] && ! call_used_regs[regno]) \ offset += 4; \ @@ -1196,7 +1193,6 @@ __transfer_from_trampoline () \ #define GO_IF_LEGITIMATE_ADDRESS(MODE, X, ADDR) \ { register rtx xfooy, xfoo0, xfoo1; \ unsigned xfoo2; \ - extern int current_function_uses_pic_offset_table, flag_pic; \ xfooy = X; \ if (flag_pic && ! current_function_uses_pic_offset_table \ && global_symbolic_reference_mentioned_p (X, 1)) \ @@ -1240,7 +1236,6 @@ __transfer_from_trampoline () \ when generating PIC code. It is given that flag_pic is on and that X satisfies CONSTANT_P or is a CONST_DOUBLE. */ -extern int current_function_uses_pic_offset_table, flag_pic; #define LEGITIMATE_PIC_OPERAND_P(X) \ (((! current_function_uses_pic_offset_table \ && symbolic_reference_mentioned_p (X))? \ |