瀏覽代碼

* 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
               begin
                 if actasmtoken = AS_NEAR then
                 if actasmtoken = AS_NEAR then
                   begin
                   begin
+{$ifndef i8086}
                     Message(asmr_w_near_ignored);
                     Message(asmr_w_near_ignored);
+{$endif not i8086}
                     instr.opsize:=S_NEAR;
                     instr.opsize:=S_NEAR;
                   end
                   end
                 else
                 else
                   begin
                   begin
+{$ifndef i8086}
                     Message(asmr_w_far_ignored);
                     Message(asmr_w_far_ignored);
+{$endif not i8086}
                     instr.opsize:=S_FAR;
                     instr.opsize:=S_FAR;
                   end;
                   end;
                 Consume(actasmtoken);
                 Consume(actasmtoken);