diff options
Diffstat (limited to 'gcc/tree-inline.h')
-rw-r--r-- | gcc/tree-inline.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h index 2a4e38b1657..280079eb8b2 100644 --- a/gcc/tree-inline.h +++ b/gcc/tree-inline.h @@ -25,6 +25,14 @@ along with GCC; see the file COPYING3. If not see #include "pointer-set.h" +/* Possible desired behaviors wrt call graph edges. */ + +enum copy_body_cge_which { + CB_CGE_DUPLICATE, + CB_CGE_MOVE, + CB_CGE_MOVE_CLONES +}; + /* Data required for function body duplication. */ typedef struct copy_body_data @@ -79,11 +87,7 @@ typedef struct copy_body_data /* Indicate the desired behavior wrt call graph edges. We can either duplicate the edge (inlining, cloning), move the edge (versioning, parallelization), or move the edges of the clones (saving). */ - enum copy_body_cge_which { - CB_CGE_DUPLICATE, - CB_CGE_MOVE, - CB_CGE_MOVE_CLONES - } transform_call_graph_edges; + enum copy_body_cge_which transform_call_graph_edges; /* True if a new CFG should be created. False for inlining, true for everything else. */ |