mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-02-19 19:56:42 +01:00
ncgmat: fix location for constant divisions-by-power-of-two after a291347d
This commit is contained in:
parent
8030e218e1
commit
ed65f26e98
@ -431,6 +431,9 @@ implementation
|
||||
End
|
||||
Else { not signed }
|
||||
cg.a_op_const_reg(current_asmdata.CurrAsmList,OP_SHR,OS_INT,power,hreg1);
|
||||
|
||||
location_reset(location,LOC_REGISTER,opsize);
|
||||
location.register:=hreg1;
|
||||
End
|
||||
else
|
||||
begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user