diff options
author | YamaArashi <shadow962@live.com> | 2016-02-15 03:34:47 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-02-15 03:34:47 -0800 |
commit | 526fd830c2ce8da3397bc08a267db5aea78db6f3 (patch) | |
tree | b9965d4ae9ca0c1f5f68ce71bfe4108d73f31d77 /gcc/flow.c | |
parent | dae4baf0b704d1b566bbff41774f220b00bf365b (diff) |
remove exit_ignore_stack ifdefs
Diffstat (limited to 'gcc/flow.c')
-rwxr-xr-x | gcc/flow.c | 35 |
1 files changed, 5 insertions, 30 deletions
@@ -1336,15 +1336,7 @@ mark_regs_live_at_end (set) { int i; -#ifdef EXIT_IGNORE_STACK - if (! EXIT_IGNORE_STACK - || (! FRAME_POINTER_REQUIRED - && ! current_function_calls_alloca - && flag_omit_frame_pointer) - || current_function_sp_is_unchanging) -#endif - /* If exiting needs the right stack value, - consider the stack pointer live at the end of the function. */ + /* Consider the stack pointer live at the end of the function. */ SET_REGNO_REG_SET (set, STACK_POINTER_REGNUM); /* Mark the frame pointer is needed at the end of the function. If @@ -1358,11 +1350,7 @@ mark_regs_live_at_end (set) as being live at the end of the function since they may be referenced by our caller. */ for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) - if (global_regs[i] -#ifdef EPILOGUE_USES - || EPILOGUE_USES (i) -#endif - ) + if (global_regs[i]) SET_REGNO_REG_SET (set, i); } @@ -3031,25 +3019,12 @@ mark_used_regs (needed, live, x, final, insn) break; case RETURN: - /* If exiting needs the right stack value, consider this insn as - using the stack pointer. In any event, consider it as using - all global registers and all registers used by return. */ - -#ifdef EXIT_IGNORE_STACK - if (! EXIT_IGNORE_STACK - || (! FRAME_POINTER_REQUIRED - && ! current_function_calls_alloca - && flag_omit_frame_pointer) - || current_function_sp_is_unchanging) -#endif + /* Consider this insn as using the stack pointer, all global registers + and all registers used by return. */ SET_REGNO_REG_SET (live, STACK_POINTER_REGNUM); for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) - if (global_regs[i] -#ifdef EPILOGUE_USES - || EPILOGUE_USES (i) -#endif - ) + if (global_regs[i]) SET_REGNO_REG_SET (live, i); break; |