small struct function cleanup

Richard Henderson rth@redhat.com
Fri Aug 29 22:19:00 GMT 2003


        * function.h (struct function): Move function_frequency and
        max_jumptable_ents before start of bit field members.

Index: function.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/function.h,v
retrieving revision 1.100
diff -c -p -d -r1.100 function.h
*** function.h	1 Jul 2003 16:20:39 -0000	1.100
--- function.h	29 Aug 2003 22:15:53 -0000
*************** struct function GTY(())
*** 389,394 ****
--- 389,411 ----
       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
*************** struct function GTY(())
*** 487,509 ****
  
    /* 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.  */
--- 504,509 ----



More information about the Gcc-patches mailing list