mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +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.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;
|
||||
|
|
Loading…
Reference in a new issue