diff options
author | Roger Sayle <roger@eyesopen.com> | 2005-05-27 22:57:39 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2005-05-27 22:57:39 +0000 |
commit | 1c320f82aba94a006bda5a3264681f15685c5e3a (patch) | |
tree | c748dc271d28039f2d586b93c3aa2c1f6f3a2ed3 /libcpp/expr.c | |
parent | b59fa6cf91b357b25e00dd3f1c3e88dd5d0220e2 (diff) | |
download | gcc-1c320f82aba94a006bda5a3264681f15685c5e3a.zip gcc-1c320f82aba94a006bda5a3264681f15685c5e3a.tar.gz gcc-1c320f82aba94a006bda5a3264681f15685c5e3a.tar.bz2 |
reg-stack.c (compensate_edge): Remove original prototype.
* reg-stack.c (compensate_edge): Remove original prototype.
(propagate_stack): New function to copy the stack layout
at the start of a basic block from the layout at the end of
one of its predecessors.
(compensate_edge): Assume that both source and destination
blocks have already had their stack layouts defined.
(compensate_edges): Traverse all non-entry edges in the CFG
and call compensate_edge on each in turn.
(convert_regs_1): Change return type to void. Call
propagate_stack instead of compensate_edge.
(convert_regs_2): Change return type to void. Update call
to convert_regs_1 to ignore the (now void) return value.
(convert_regs): Update calls to convert_regs_2 to ignore
the (now void) return value. After all the basic blocks have
been processed, call compensate_edges to actually emit new
insns.
(reg_to_stack): Initialize the aux info for each basic block
with FOR_EACH_BB instead of which FOR_EACH_BB_REVERSE.
From-SVN: r100283
Diffstat (limited to 'libcpp/expr.c')
0 files changed, 0 insertions, 0 deletions