소스 검색

* removed the 'near ignored' and 'far ignored' inline asm warning messages on
the i8086, as 'near' and 'far' actually work there. Some forms may even work
on the i386, but that's not tested very well for now, so we leave the messages
there on i386 and x86_64.

git-svn-id: trunk@32195 -

nickysn 9 년 전
부모
커밋
2e30b92c79
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      compiler/x86/rax86int.pas

+ 4 - 0
compiler/x86/rax86int.pas

@@ -2164,12 +2164,16 @@ Unit Rax86int;
               begin
                 if actasmtoken = AS_NEAR then
                   begin
+{$ifndef i8086}
                     Message(asmr_w_near_ignored);
+{$endif not i8086}
                     instr.opsize:=S_NEAR;
                   end
                 else
                   begin
+{$ifndef i8086}
                     Message(asmr_w_far_ignored);
+{$endif not i8086}
                     instr.opsize:=S_FAR;
                   end;
                 Consume(actasmtoken);