diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-15 13:38:03 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-15 13:38:03 +0000 |
commit | 337d789b57c5fbe86822b3dd9d6b7fad8c7cb33b (patch) | |
tree | 15c488cfd0892394f03a3a880f8a6027ac7d4155 /gcc/regclass.c | |
parent | 039c27d6032202129054360627a0db5b64c04bd5 (diff) | |
download | gcc-337d789b57c5fbe86822b3dd9d6b7fad8c7cb33b.tar.gz |
* read-rtl.c: Fix formatting.
* real.c: Likewise.
* recog.c: Likewise.
* regclass.c: Likewise.
* regmove.c: Likewise.
* reg-stack.c: Likewise.
* reload1.c: Likewise.
* rtlanal.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48870 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r-- | gcc/regclass.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c index 95776382c94..9bf07048db9 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -1192,7 +1192,7 @@ regclass (f, nregs, dump) costs = (struct costs *) xmalloc (nregs * sizeof (struct costs)); #ifdef CLASS_CANNOT_CHANGE_MODE - reg_changes_mode = BITMAP_XMALLOC(); + reg_changes_mode = BITMAP_XMALLOC (); #endif #ifdef FORBIDDEN_INC_DEC_CLASSES @@ -1341,7 +1341,7 @@ regclass (f, nregs, dump) best = (enum reg_class) class; } else if (p->cost[class] == best_cost) - best = reg_class_subunion[(int)best][class]; + best = reg_class_subunion[(int) best][class]; } /* Record the alternate register class; i.e., a class for which @@ -2214,8 +2214,8 @@ allocate_reg_info (num_regs, new_p, renumber_p) if (new_p) /* if we're zapping everything, no need to realloc */ { - free ((char *)renumber); - free ((char *)reg_pref); + free ((char *) renumber); + free ((char *) reg_pref); renumber = (short *) xmalloc (size_renumber); reg_pref_buffer = (struct reg_pref *) xmalloc (regno_allocated * sizeof (struct reg_pref)); @@ -2223,8 +2223,8 @@ allocate_reg_info (num_regs, new_p, renumber_p) else { - renumber = (short *) xrealloc ((char *)renumber, size_renumber); - reg_pref_buffer = (struct reg_pref *) xrealloc ((char *)reg_pref_buffer, + renumber = (short *) xrealloc ((char *) renumber, size_renumber); + reg_pref_buffer = (struct reg_pref *) xrealloc ((char *) reg_pref_buffer, regno_allocated * sizeof (struct reg_pref)); } @@ -2301,7 +2301,7 @@ free_reg_info () for (reg_data = reg_info_head; reg_data; reg_data = reg_next) { reg_next = reg_data->next; - free ((char *)reg_data); + free ((char *) reg_data); } free (reg_pref_buffer); @@ -2571,8 +2571,8 @@ reg_class_subset_p (c1, c2) if (c2 == ALL_REGS) win: return 1; - GO_IF_HARD_REG_SUBSET (reg_class_contents[(int)c1], - reg_class_contents[(int)c2], + GO_IF_HARD_REG_SUBSET (reg_class_contents[(int) c1], + reg_class_contents[(int) c2], win); return 0; } |