aboutsummaryrefslogtreecommitdiff
path: root/gcc/global.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/global.c')
-rw-r--r--gcc/global.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/global.c b/gcc/global.c
index f88da11..befdc9f 100644
--- a/gcc/global.c
+++ b/gcc/global.c
@@ -249,7 +249,7 @@ compute_regsets (HARD_REG_SET *elim_set,
#endif
int need_fp
= (! flag_omit_frame_pointer
- || (current_function_calls_alloca && EXIT_IGNORE_STACK)
+ || (cfun->calls_alloca && EXIT_IGNORE_STACK)
|| FRAME_POINTER_REQUIRED);
max_regno = max_reg_num ();
@@ -378,7 +378,7 @@ global_alloc (void)
if (REG_N_REFS (i) != 0 && REG_LIVE_LENGTH (i) != -1
/* Don't allocate pseudos that cross calls,
if this function receives a nonlocal goto. */
- && (! current_function_has_nonlocal_label
+ && (! cfun->has_nonlocal_label
|| REG_N_CALLS_CROSSED (i) == 0))
{
int blk = regno_basic_block (i);