소스 검색

* don't write rex twice

git-svn-id: trunk@4525 -
florian 19 년 전
부모
커밋
e1d1f92672
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/x86/aasmcpu.pas

+ 1 - 1
compiler/x86/aasmcpu.pas

@@ -2001,7 +2001,7 @@ implementation
 {$ifdef x86_64}
        procedure maybewriterex;
        begin
-          if rex<>0 then
+          if (rex<>0) and not(rexwritten) then
             begin
               rexwritten:=true;
               objdata.writebytes(rex,1);