Browse Source

tarmunaryminusnode.pass_1 must call inherited method for system_arm_wince

git-svn-id: trunk@45755 -
pierre 5 years ago
parent
commit
39f3a72c62
1 changed files with 3 additions and 2 deletions
  1. 3 2
      compiler/arm/narmmat.pas

+ 3 - 2
compiler/arm/narmmat.pas

@@ -54,7 +54,7 @@ implementation
       globtype,compinnr,
       globtype,compinnr,
       cutils,verbose,globals,constexp,
       cutils,verbose,globals,constexp,
       aasmbase,aasmcpu,aasmtai,aasmdata,
       aasmbase,aasmcpu,aasmtai,aasmdata,
-      defutil,
+      defutil,systems,
       symtype,symconst,symtable,
       symtype,symconst,symtable,
       cgbase,cgobj,hlcgobj,cgutils,
       cgbase,cgobj,hlcgobj,cgutils,
       pass_2,procinfo,
       pass_2,procinfo,
@@ -359,7 +359,8 @@ implementation
         fdef : tdef;
         fdef : tdef;
       begin
       begin
         if (FPUARM_HAS_VFP_DOUBLE in fpu_capabilities[current_settings.fputype]) or
         if (FPUARM_HAS_VFP_DOUBLE in fpu_capabilities[current_settings.fputype]) or
-          is_single(resultdef) then
+           (target_info.system = system_arm_wince) or
+           is_single(resultdef) then
           exit(inherited pass_1);
           exit(inherited pass_1);
 
 
         result:=nil;
         result:=nil;