mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 11:28:06 +02:00
* fixed location.size for divmodn (in particular the sign)
git-svn-id: trunk@9422 -
This commit is contained in:
parent
679fd10b3f
commit
444ba107f8
@ -73,8 +73,8 @@ implementation
|
||||
exit;
|
||||
|
||||
{ put numerator in register }
|
||||
location_reset(location,LOC_REGISTER,OS_INT);
|
||||
location_force_reg(current_asmdata.CurrAsmList,left.location,OS_INT,false);
|
||||
location_reset(location,LOC_REGISTER,def_cgsize(resultdef));
|
||||
location_force_reg(current_asmdata.CurrAsmList,left.location,location.size,false);
|
||||
hreg1:=left.location.register;
|
||||
|
||||
if (nodetype=divn) and (right.nodetype=ordconstn) and
|
||||
|
Loading…
Reference in New Issue
Block a user