diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2015-05-19 09:33:27 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2015-05-19 09:33:27 +0000 |
commit | d33606c30678cbccf0e95840e7dc48918ff1e21e (patch) | |
tree | 1a601dd44371c7e5dd197e955db6b56a8a9dd835 /gcc/except.h | |
parent | 76e048a8c04e282b8eca52dedf529073ce235f38 (diff) | |
download | gcc-d33606c30678cbccf0e95840e7dc48918ff1e21e.zip gcc-d33606c30678cbccf0e95840e7dc48918ff1e21e.tar.gz gcc-d33606c30678cbccf0e95840e7dc48918ff1e21e.tar.bz2 |
insn-notes.def (UPDATE_SJLJ_CONTEXT): New note.
* insn-notes.def (UPDATE_SJLJ_CONTEXT): New note.
* builtins.c (expand_builtin_update_setjmp_buf): Make global.
(expand_stack_restore): Call record_new_stack_level.
(expand_stack_save): Do not call do_pending_stack_adjust.
* builtins.h (expand_builtin_update_setjmp_buf): Declare.
* calls.c (expand_call): Call record_new_stack_level for alloca.
* except.c (sjlj_mark_call_sites): Expand builtin_update_setjmp_buf
wherever a NOTE_INSN_UPDATE_SJLJ_CONTEXT note is present.
(update_sjlj_context): New global function.
* except.h (update_sjlj_context): Declare.
* explow.c (record_new_stack_level): New global function.
(allocate_dynamic_stack_space): Call record_new_stack_level.
* explow.h (record_new_stack_level): Declare.
* final.c (final_scan_insn): Deal with NOTE_INSN_UPDATE_SJLJ_CONTEXT.
* cfgrtl.c (duplicate_insn_chain): Likewise.
Co-Authored-By: Tristan Gingold <gingold@adacore.com>
From-SVN: r223348
Diffstat (limited to 'gcc/except.h')
-rw-r--r-- | gcc/except.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/except.h b/gcc/except.h index 504b4bd..ca26c4cb 100644 --- a/gcc/except.h +++ b/gcc/except.h @@ -252,6 +252,7 @@ extern hash_map<void *, void *> *duplicate_eh_regions (struct function *, eh_region, int, duplicate_eh_regions_map, void *); extern void sjlj_emit_function_exit_after (rtx_insn *); +extern void update_sjlj_context (void); extern eh_region gen_eh_region_cleanup (eh_region); extern eh_region gen_eh_region_try (eh_region); |