Remove multi-line macro (FOR_EACH_PRED) in backgraph
authorIvan Maidanski <ivmai@mail.ru>
Tue, 3 Jul 2018 14:10:26 +0000 (17:10 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 3 Jul 2018 14:10:26 +0000 (17:10 +0300)
commitda3178cf1417dd300b306796c3cc73eceb8e32a3
tree6579e1d4d3754fdea20b88c457fa9be4a3eea99b
parent502b31f7f060ac230090573481aff890af364def
Remove multi-line macro (FOR_EACH_PRED) in backgraph
(code refactoring)

This change simplifies stepping thru backgraph code in gdb.

* backgraph.c (FOR_EACH_PRED): Remove macro.
* backgraph.c (add_edge): Rename old_back_ptr local variable to pred.
* backgraph.c (add_edge, backwards_height, update_max_height): Expand
FOR_EACH_PRED macro.
* backgraph.c (backwards_height): Rename back_ptr local variable to
pred.
* backgraph.c (backwards_height, update_max_height): Rename q local
variable to pred.
* backgraph.c (update_max_height): Rename q_height local variable to
this_height.
backgraph.c