mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
STOREP also has the destination in OPB rather than OPC
This commit is contained in:
parent
91e3765a00
commit
fda4687ece
1 changed files with 4 additions and 2 deletions
6
ir.c
6
ir.c
|
@ -2364,8 +2364,10 @@ tailcall:
|
||||||
stmt.o1.u1 = stmt.o3.u1;
|
stmt.o1.u1 = stmt.o3.u1;
|
||||||
stmt.o3.u1 = 0;
|
stmt.o3.u1 = 0;
|
||||||
}
|
}
|
||||||
else if (stmt.opcode >= INSTR_STORE_F &&
|
else if ((stmt.opcode >= INSTR_STORE_F &&
|
||||||
stmt.opcode <= INSTR_STORE_FNC)
|
stmt.opcode <= INSTR_STORE_FNC) ||
|
||||||
|
(stmt.opcode >= INSTR_STOREP_F &&
|
||||||
|
stmt.opcode <= INSTR_STOREP_FNC))
|
||||||
{
|
{
|
||||||
/* 2-operand instructions with A -> B */
|
/* 2-operand instructions with A -> B */
|
||||||
stmt.o2.u1 = stmt.o3.u1;
|
stmt.o2.u1 = stmt.o3.u1;
|
||||||
|
|
Loading…
Reference in a new issue