]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/insn-notes.def
* insn-notes.def (UPDATE_SJLJ_CONTEXT): New note.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 May 2015 09:33:27 +0000 (09:33 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 May 2015 09:33:27 +0000 (09:33 +0000)
commit97354ae4d5a266ad985277a02cbc65638e517156
tree1a601dd44371c7e5dd197e955db6b56a8a9dd835
parenta8b58ffbf5223484ebd033c8239ad6cd66f316a9
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223348 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/builtins.h
gcc/calls.c
gcc/cfgrtl.c
gcc/except.c
gcc/except.h
gcc/explow.c
gcc/explow.h
gcc/final.c
gcc/insn-notes.def