瀏覽代碼

* another ugly hack

peter 22 年之前
父節點
當前提交
2594bcce67
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      tests/webtbs/tw2668.pp

+ 2 - 1
tests/webtbs/tw2668.pp

@@ -3,7 +3,7 @@
 { Submitted by "Marco" on  2003-09-06 }
 { e-mail: [email protected] }
 
-{$MODE DELPHI} {$ASMMODE INTEL}
+{$ifdef fpc}{$MODE DELPHI} {$ASMMODE INTEL} {$endif}
 
 type
   TFloatingPointClass =
@@ -30,4 +30,5 @@ const
 asm
         MOVZX   EAX, TFloatingPointClass(FPClasses[EDX])
         MOVZX   EAX, TFloatingPointClass([ECX].FPClasses[EDX])
+        MOVZX   EAX, TFloatingPointClass([ECX].1[EDX])
 end.