Selaa lähdekoodia

* 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 vuotta sitten
vanhempi
commit
2e30b92c79
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  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);