diff options
Diffstat (limited to 'gcc/tree-inline.c')
| -rw-r--r-- | gcc/tree-inline.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 86485e5..4e0913e 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -49,6 +49,7 @@ Boston, MA 02110-1301, USA. */ #include "debug.h" #include "pointer-set.h" #include "ipa-prop.h" +#include "value-prof.h" /* I'm not real happy about this, but we need to handle gimple and non-gimple trees. */ @@ -707,6 +708,8 @@ copy_bb (copy_body_data *id, basic_block bb, int frequency_scale, int count_scal { tree call, decl; + gimple_duplicate_stmt_histograms (cfun, stmt, id->src_cfun, orig_stmt); + /* With return slot optimization we can end up with non-gimple (foo *)&this->m, fix that here. */ if (TREE_CODE (stmt) == GIMPLE_MODIFY_STMT |
