소스 검색

Try to fix compilation error after commit #40027

git-svn-id: trunk@40028 -
pierre 6 년 전
부모
커밋
d26fb3b663
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      compiler/x86/agx86int.pas

+ 2 - 0
compiler/x86/agx86int.pas

@@ -886,6 +886,7 @@ implementation
                else if (asminfo^.id=as_x86_64_masm) and
                  (fixed_opcode=A_MOVQ) then
                  writer.AsmWrite(#9#9'mov')
+{$ifdef I386}
                else if (asminfo^.id = as_i386_wasm) and ((fixed_opcode=A_RETD)
                        or (fixed_opcode=A_RETND) or (fixed_opcode=A_RETFD)) then
                  begin
@@ -899,6 +900,7 @@ implementation
                          writer.AsmWrite(#9#9'retf');
                    end
                  end
+{$endif I386}
                else
                  writer.AsmWrite(#9#9+prefix+std_op2str[fixed_opcode]+cond2str[taicpu(hp).condition]+suffix);
                if taicpu(hp).ops<>0 then