Browse Source

* another ugly hack

peter 22 years ago
parent
commit
2594bcce67
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tests/webtbs/tw2668.pp

+ 2 - 1
tests/webtbs/tw2668.pp

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