2
0
Эх сурвалжийг харах

* do not execute xend twice which was introduced in r48430

git-svn-id: trunk@48456 -
florian 4 жил өмнө
parent
commit
de62cb8b02
1 өөрчлөгдсөн 2 нэмэгдсэн , 3 устгасан
  1. 2 3
      rtl/i386/cpu.pp

+ 2 - 3
rtl/i386/cpu.pp

@@ -70,7 +70,7 @@ unit cpu;
     function InterlockedCompareExchange128(var Target: Int128Rec; NewValue: Int128Rec; Comperand: Int128Rec): Int128Rec;
     function InterlockedCompareExchange128(var Target: Int128Rec; NewValue: Int128Rec; Comperand: Int128Rec): Int128Rec;
       begin
       begin
 {$if FPC_FULLVERSION >= 30101}
 {$if FPC_FULLVERSION >= 30101}
-{$ifndef FPC_PIC}      
+{$ifndef FPC_PIC}
         if _RTMSupport then
         if _RTMSupport then
           begin
           begin
             asm
             asm
@@ -92,11 +92,10 @@ unit cpu;
   { 8a:	0f 01 d5             	xend    }
   { 8a:	0f 01 d5             	xend    }
          .byte 0x0f, 0x01, 0xd5
          .byte 0x0f, 0x01, 0xd5
 {$endif}
 {$endif}
-              xend
             end;
             end;
           end
           end
         else
         else
-{$endif FPC_PIC}        
+{$endif FPC_PIC}
 {$endif FPC_FULLVERSION >= 30101}
 {$endif FPC_FULLVERSION >= 30101}
           RunError(217);
           RunError(217);
       end;
       end;