summaryrefslogtreecommitdiff
path: root/gcc/pass_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/pass_manager.h')
-rw-r--r--gcc/pass_manager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/pass_manager.h b/gcc/pass_manager.h
index 4d1540719a2..ae97cd411e2 100644
--- a/gcc/pass_manager.h
+++ b/gcc/pass_manager.h
@@ -82,6 +82,12 @@ public:
opt_pass *get_pass_by_name (const char *name);
+ opt_pass *get_rest_of_compilation () const
+ {
+ return pass_rest_of_compilation_1;
+ }
+ opt_pass *get_clean_slate () const { return pass_clean_state_1; }
+
public:
/* The root of the compilation pass tree, once constructed. */
opt_pass *all_passes;