* ti8086vecnode.update_reference_reg_mul: remove the segment before calling

base, because base may in some cases call cg.a_loadaddr_ref_reg, which will
  overwrite the next register, if the source reference contains a segment

git-svn-id: trunk@27713 -
This commit is contained in:
nickysn 2014-05-01 19:39:52 +00:00
parent 2fa066b003
commit 38aec68d6f

View File

@ -175,6 +175,7 @@ implementation
saveseg: TRegister;
begin
saveseg:=location.reference.segment;
location.reference.segment:=NR_NO;
inherited update_reference_reg_mul(maybe_const_reg,l);
location.reference.segment:=saveseg;
end;