From 23b6da1098061c61f47bf0edd2fde594b42e8134 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 29 Aug 2003 15:19:35 -0700 Subject: [PATCH] function.h (struct function): Move function_frequency and max_jumptable_ents before start of bit field members. * function.h (struct function): Move function_frequency and max_jumptable_ents before start of bit field members. From-SVN: r70928 --- gcc/ChangeLog | 5 +++++ gcc/function.h | 34 +++++++++++++++++----------------- 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4e7b04796d6..48a24ce42f0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -3,6 +3,11 @@ * config.gcc: Don't use negated character class in shell case clause. +2003-08-29 Richard Henderson + + * function.h (struct function): Move function_frequency and + max_jumptable_ents before start of bit field members. + 2003-08-29 Richard Henderson * builtins.c (expand_builtin_constant_p): Check cse_not_expected here, diff --git a/gcc/function.h b/gcc/function.h index 4f5b51f8d9c..4216acb6a25 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -389,6 +389,23 @@ struct function GTY(()) delay list for them is recorded here. */ rtx epilogue_delay_list; + /* How commonly executed the function is. Initialized during branch + probabilities pass. */ + enum function_frequency { + /* This function most likely won't be executed at all. + (set only when profile feedback is available). */ + FUNCTION_FREQUENCY_UNLIKELY_EXECUTED, + /* The default value. */ + FUNCTION_FREQUENCY_NORMAL, + /* Optimize this function hard + (set only when profile feedback is available). */ + FUNCTION_FREQUENCY_HOT + } function_frequency; + + /* Maximal number of entities in the single jumptable. Used to estimate + final flowgraph size. */ + int max_jumptable_ents; + /* Collected bit flags. */ /* Nonzero if function being compiled needs to be given an address @@ -487,23 +504,6 @@ struct function GTY(()) /* Nonzero if code to initialize arg_pointer_save_area has been emitted. */ unsigned int arg_pointer_save_area_init : 1; - - /* How commonly executed the function is. Initialized during branch - probabilities pass. */ - enum function_frequency { - /* This function most likely won't be executed at all. - (set only when profile feedback is available). */ - FUNCTION_FREQUENCY_UNLIKELY_EXECUTED, - /* The default value. */ - FUNCTION_FREQUENCY_NORMAL, - /* Optimize this function hard - (set only when profile feedback is available). */ - FUNCTION_FREQUENCY_HOT - } function_frequency; - - /* Maximal number of entities in the single jumptable. Used to estimate - final flowgraph size. */ - int max_jumptable_ents; }; /* The function currently being compiled. */