ncgmat: fix location for constant divisions-by-power-of-two after a291347d

This commit is contained in:
Karoly Balogh 2025-09-19 01:50:17 +02:00
parent 8030e218e1
commit ed65f26e98

View File

@ -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