Bläddra i källkod

+ fixed a bug in the previous commit, when adding two references, the first
containing a base register, the second - an index register with a scalefactor.
The scalefactor was ignored in this case.

git-svn-id: trunk@38354 -

nickysn 7 år sedan
förälder
incheckning
f623038da6
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      compiler/x86/rax86int.pas

+ 1 - 0
compiler/x86/rax86int.pas

@@ -814,6 +814,7 @@ Unit Rax86int;
           if dest.opr.ref.index=NR_NO then
             begin
               dest.opr.ref.index:=reg;
+              dest.opr.ref.scalefactor:=scalefactor;
               exit;
             end;
           if dest.opr.ref.index=reg then