summaryrefslogtreecommitdiffstats
path: root/gcc/unroll.c
diff options
context:
space:
mode:
authorcrux <crux@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-09 14:00:21 +0000
committercrux <crux@138bc75d-0d04-0410-961f-82ee72b054a4>1999-08-09 14:00:21 +0000
commit0a893c29f8f2c3ad8542047218b2c1d5a9337046 (patch)
tree0c9ea6c13240638f450e4b7c92af4127356208c0 /gcc/unroll.c
parent2c440a1334f71402905241113ec103d0e92d165e (diff)
downloadppe42-gcc-0a893c29f8f2c3ad8542047218b2c1d5a9337046.tar.gz
ppe42-gcc-0a893c29f8f2c3ad8542047218b2c1d5a9337046.zip
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/unroll.c')
-rw-r--r--gcc/unroll.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c
index d6dbcf0fbc1..c2297f91b1b 100644
--- a/gcc/unroll.c
+++ b/gcc/unroll.c
@@ -154,6 +154,7 @@ enum unroll_types { UNROLL_COMPLETELY, UNROLL_MODULO, UNROLL_NAIVE };
#include "regs.h"
#include "recog.h"
#include "flags.h"
+#include "function.h"
#include "expr.h"
#include "loop.h"
#include "toplev.h"
@@ -1180,8 +1181,8 @@ unroll_loop (loop_end, insn_count, loop_start, end_insert_before,
}
/* Use our current register alignment and pointer flags. */
- map->regno_pointer_flag = regno_pointer_flag;
- map->regno_pointer_align = regno_pointer_align;
+ map->regno_pointer_flag = current_function->emit->regno_pointer_flag;
+ map->regno_pointer_align = current_function->emit->regno_pointer_align;
/* If the loop is being partially unrolled, and the iteration variables
are being split, and are being renamed for the split, then must fix up
OpenPOWER on IntegriCloud