From fda4687ece1c20d537833ec85469d4274c9350f4 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Sat, 11 Aug 2012 18:06:10 +0200 Subject: [PATCH 1/1] STOREP also has the destination in OPB rather than OPC --- ir.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ir.c b/ir.c index 1f38236..7e1f110 100644 --- a/ir.c +++ b/ir.c @@ -2364,8 +2364,10 @@ tailcall: stmt.o1.u1 = stmt.o3.u1; stmt.o3.u1 = 0; } - else if (stmt.opcode >= INSTR_STORE_F && - stmt.opcode <= INSTR_STORE_FNC) + else if ((stmt.opcode >= INSTR_STORE_F && + stmt.opcode <= INSTR_STORE_FNC) || + (stmt.opcode >= INSTR_STOREP_F && + stmt.opcode <= INSTR_STOREP_FNC)) { /* 2-operand instructions with A -> B */ stmt.o2.u1 = stmt.o3.u1; -- 2.39.2