diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-09 19:01:47 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-09 19:01:47 +0000 |
commit | f929a98a102bd45c0cfd909caa136b1ea3e428b2 (patch) | |
tree | 0c173c0ea7357ad6956b8a86933712368ca50d23 /gcc/output.h | |
parent | b9eaf89e3e8fa6c177925d01a838bafbe9036f40 (diff) | |
download | gcc-f929a98a102bd45c0cfd909caa136b1ea3e428b2.tar.gz |
* except.c (can_throw): See through a SEQUENCE.
(nothrow_function_p): New fn.
* except.h: Declare it.
* function.c (current_function_nothrow): New var.
(prepare_function_start): Initialize it.
* output.h: Declare it.
* toplev.c (rest_of_compilation): Set it.
* dwarf2out.c (dwarf2out_begin_prologue): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32449 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/output.h')
-rw-r--r-- | gcc/output.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/output.h b/gcc/output.h index 160f1243c47..97c6f2e71ae 100644 --- a/gcc/output.h +++ b/gcc/output.h @@ -412,6 +412,11 @@ extern FILE *asm_out_file; extern int current_function_is_leaf; +/* Nonzero if function being compiled doesn't contain any instructions + that can throw an exception. This is set prior to final. */ + +extern int current_function_nothrow; + /* Nonzero if function being compiled doesn't modify the stack pointer (ignoring the prologue and epilogue). This is only valid after life_analysis has run. */ |