diff options
author | David Li <davidxl@google.com> | 2011-05-30 04:38:42 +0000 |
---|---|---|
committer | David Li <davidxl@google.com> | 2011-05-30 04:38:42 +0000 |
commit | 9e57f1fb6b7b583fedbe740bc6ef2f77b0524822 (patch) | |
tree | c675ad7ddeb009e2d055e547eb38270b557653cd /gcc/tree-pass.h | |
parent | b89c44165d7c6ba64a297624b79d0277d800c42c (diff) |
New option to disable/enable optimization passes.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@174423 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r-- | gcc/tree-pass.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h index 9520c178c96..daf7202f4f6 100644 --- a/gcc/tree-pass.h +++ b/gcc/tree-pass.h @@ -637,4 +637,7 @@ extern bool first_pass_instance; /* Declare for plugins. */ extern void do_per_function_toporder (void (*) (void *), void *); +extern void disable_pass (const char *); +extern void enable_pass (const char *); + #endif /* GCC_TREE_PASS_H */ |