From f4e3942b0e7b91423ade9502dd28da00d824ab9a Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Wed, 14 Nov 2012 10:33:20 +0100 Subject: [PATCH] x87: Fix harmless typo in sim_binop(). The last parameter of x87_create_fpush() is used for debugging only. --- ir/be/ia32/ia32_x87.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ir/be/ia32/ia32_x87.c b/ir/be/ia32/ia32_x87.c index 760f4df8b..180a71c9e 100644 --- a/ir/be/ia32/ia32_x87.c +++ b/ir/be/ia32/ia32_x87.c @@ -772,8 +772,8 @@ static int sim_binop(x87_state *const state, ir_node *const n, ir_op *const op) if (op1_live_after) { /* Both operands are live: push the first one. - This works even for op1 == op2. */ - x87_create_fpush(state, n, op1_idx, out_reg_idx, op2); + * This works even for op1 == op2. */ + x87_create_fpush(state, n, op1_idx, out_reg_idx, op1); /* now do fxxx (tos=tos X op) */ op1_idx = 0; op2_idx += 1; -- 2.20.1