summaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r--gcc/tree-pass.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h
index 0a1a3543866..a7c3f006224 100644
--- a/gcc/tree-pass.h
+++ b/gcc/tree-pass.h
@@ -97,8 +97,9 @@ struct tree_opt_pass
bool (*gate) (void);
/* This is the code to run. If null, then there should be sub-passes
- otherwise this pass does nothing. */
- void (*execute) (void);
+ otherwise this pass does nothing. The return value contains
+ TODOs to execute in addition to those in TODO_flags_finish. */
+ unsigned int (*execute) (void);
/* A list of sub-passes to run, dependent on gate predicate. */
struct tree_opt_pass *sub;