aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/function.h b/gcc/function.h
index b37907c..27e5c02 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -195,6 +195,9 @@ struct function GTY(())
/* The loops in this function. */
struct loops * GTY((skip)) x_current_loops;
+ /* Value histograms attached to particular statements. */
+ htab_t GTY((skip)) value_histograms;
+
/* For function.c. */
/* Points to the FUNCTION_DECL of this function. */
@@ -532,6 +535,7 @@ extern int trampolines_created;
#define temp_slot_level (cfun->x_temp_slot_level)
#define nonlocal_goto_handler_labels (cfun->x_nonlocal_goto_handler_labels)
#define current_loops (cfun->x_current_loops)
+#define VALUE_HISTOGRAMS(fun) (fun)->value_histograms
/* Given a function decl for a containing function,
return the `struct function' for it. */