summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beflags.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2015-08-30 09:33:56 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2015-08-30 10:18:51 +0200
commitc2dbc1be5649e5b1c6811869114282094a9f287a (patch)
tree5864fccfae20c204b4077d8024005e9f17ed25d0 /ir/be/beflags.h
parente69f71ef276b209d54585a02779d284275dd36bf (diff)
beflags, ia32: Use the correct Proj num of the new flags producer.
Also remove the nonsensical parameter pn, which is the Proj num of the old flags producer, from the try_replace callback.
Diffstat (limited to 'ir/be/beflags.h')
-rw-r--r--ir/be/beflags.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/beflags.h b/ir/be/beflags.h
index 23a0dfa..50e52e2 100644
--- a/ir/be/beflags.h
+++ b/ir/be/beflags.h
@@ -27,7 +27,7 @@ typedef bool (*check_modifies_flags) (const ir_node *node);
* Callback function that checks whether consumers can use the
* available flags instead of their original ones.
*/
-typedef bool (*try_replace_flags) (ir_node *consumers, ir_node *flags_needed, ir_node *available_flags, unsigned pn);
+typedef bool (*try_replace_flags) (ir_node *consumers, ir_node *flags_needed, ir_node *available_flags);
/**
* Walks the schedule and ensures that flags aren't destroyed between producer