diff options
Diffstat (limited to 'gcc/ipa-structure-reorg.h')
-rw-r--r-- | gcc/ipa-structure-reorg.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ipa-structure-reorg.h b/gcc/ipa-structure-reorg.h index 9526929571a..6f66cbea674 100644 --- a/gcc/ipa-structure-reorg.h +++ b/gcc/ipa-structure-reorg.h @@ -19,6 +19,8 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ +#define USE_NEW_INTERFACE 1 + typedef struct ReorgType ReorgType_t; struct ReorgType { unsigned id; @@ -118,9 +120,18 @@ struct Info { // reorg type. It's primarily to support debugging. typedef void (*ReorgFn)( Info *, ReorgType_t *); +#if USE_NEW_INTERFACE +extern int str_reorg_dead_field_eliminate_qual ( Info *); +extern int str_reorg_dead_field_eliminate_trans ( Info *); +extern int str_reorg_field_reorder_qual ( Info *); +extern int str_reorg_field_reorder_trans ( Info *); +extern int str_reorg_instance_interleave_qual ( Info *); +extern int str_reorg_instance_interleave_trans ( Info *); +#else extern int str_reorg_dead_field_eliminate ( Info *); extern int str_reorg_field_reorder ( Info *); extern int str_reorg_instance_interleave ( Info *); +#endif extern void delete_reorgtype ( ReorgType_t *, Info_t *); extern void undelete_reorgtype ( ReorgType_t *, Info_t *); |