combine-stack-adj.c: Include rtl-iter.h.
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 28 Aug 2014 06:22:16 +0000 (06:22 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 28 Aug 2014 06:22:16 +0000 (06:22 +0000)
commitf8305d18b8a10fcf63ca8fac1079e619d3b67e10
tree7a2a5fe28eb8a5d89e9d5df30bb16a58f0184c10
parent46bbda0375e18a3cdec4c7e40df934de0a468165
combine-stack-adj.c: Include rtl-iter.h.

gcc/
* combine-stack-adj.c: Include rtl-iter.h.
(record_stack_refs_data): Delete.
(record_stack_refs): Turn from being a for_each_rtx callback
to being a function that examines each subrtx itself.
Take a pointer to the reflist.  Invert sense of return value
so that true means success and false means failure.  Don't
handle null rtxes.
(combine_stack_adjustments_for_block): Update accordingly.

From-SVN: r214625
gcc/ChangeLog
gcc/combine-stack-adj.c