Browse Source

* 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 năm trước cách đây
mục cha
commit
2e30b92c79
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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);