Commit 24d4d90a authored by Matthias Braun's avatar Matthias Braun
Browse files

simplify be_lv_foreach

parent a8ee9cf8
...@@ -107,7 +107,7 @@ static inline unsigned _be_is_live_xxx(const be_lv_t *li, const ir_node *block, ...@@ -107,7 +107,7 @@ static inline unsigned _be_is_live_xxx(const be_lv_t *li, const ir_node *block,
} }
#define be_lv_foreach(lv, bl, flags, i) \ #define be_lv_foreach(lv, bl, flags, i) \
for (i = _be_lv_next_irn(lv, bl, flags, 0); i >= 0; i = _be_lv_next_irn(lv, bl, flags, i + 1)) for (i = 0; (i = _be_lv_next_irn(lv, bl, flags, i)) >= 0; ++i)
static inline pset *_be_lv_pset_put(const be_lv_t *lv, const ir_node *block, static inline pset *_be_lv_pset_put(const be_lv_t *lv, const ir_node *block,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment