projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
551e008
)
Remove the unused return value from x87_create_fxch().
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 3 Nov 2012 19:01:38 +0000
(20:01 +0100)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Mon, 5 Nov 2012 17:07:20 +0000
(18:07 +0100)
ir/be/ia32/ia32_x87.c
patch
|
blob
|
history
diff --git
a/ir/be/ia32/ia32_x87.c
b/ir/be/ia32/ia32_x87.c
index
9bae96b
..
41f67cd
100644
(file)
--- a/
ir/be/ia32/ia32_x87.c
+++ b/
ir/be/ia32/ia32_x87.c
@@
-413,10
+413,8
@@
static inline const arch_register_t *get_st_reg(int index)
* @param state the x87 state
* @param n the node after the fxch
* @param pos exchange st(pos) with st(0)
* @param state the x87 state
* @param n the node after the fxch
* @param pos exchange st(pos) with st(0)
- *
- * @return the fxch
*/
*/
-static
ir_node *
x87_create_fxch(x87_state *state, ir_node *n, int pos)
+static
void
x87_create_fxch(x87_state *state, ir_node *n, int pos)
{
x87_fxch(state, pos);
{
x87_fxch(state, pos);
@@
-430,7
+428,6
@@
static ir_node *x87_create_fxch(x87_state *state, ir_node *n, int pos)
sched_add_before(n, fxch);
DB((dbg, LEVEL_1, "<<< %s %s, %s\n", get_irn_opname(fxch), attr->x87[0]->name, attr->x87[2]->name));
sched_add_before(n, fxch);
DB((dbg, LEVEL_1, "<<< %s %s, %s\n", get_irn_opname(fxch), attr->x87[0]->name, attr->x87[2]->name));
- return fxch;
}
/* -------------- x87 perm --------------- */
}
/* -------------- x87 perm --------------- */