aboutsummaryrefslogtreecommitdiff
path: root/gcc/regrename.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/regrename.h')
-rw-r--r--gcc/regrename.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/regrename.h b/gcc/regrename.h
index e9f2823..2fe12d5 100644
--- a/gcc/regrename.h
+++ b/gcc/regrename.h
@@ -26,11 +26,11 @@ class du_head
{
public:
/* The next chain. */
- struct du_head *next_chain;
+ class du_head *next_chain;
/* The first and last elements of this chain. */
struct du_chain *first, *last;
/* The chain that this chain is tied to. */
- struct du_head *tied_chain;
+ class du_head *tied_chain;
/* Describes the register being tracked. */
unsigned regno;
int nregs;
@@ -56,7 +56,7 @@ public:
unsigned int target_data_2;
};
-typedef struct du_head *du_head_p;
+typedef class du_head *du_head_p;
/* This struct describes a single occurrence of a register. */
struct du_chain
@@ -82,7 +82,7 @@ struct operand_rr_info
/* Holds either the chain for the operand itself, or for the registers in
a memory operand. */
struct du_chain *chains[MAX_REGS_PER_ADDRESS];
- struct du_head *heads[MAX_REGS_PER_ADDRESS];
+ class du_head *heads[MAX_REGS_PER_ADDRESS];
};
/* A struct to hold a vector of operand_rr_info structures describing the