Browse Source

* fixed round() on i8086 after r24502

git-svn-id: trunk@24503 -
nickysn 12 years ago
parent
commit
9f0c23bd4c
1 changed files with 0 additions and 6 deletions
  1. 0 6
      compiler/x86/nx86inl.pas

+ 0 - 6
compiler/x86/nx86inl.pas

@@ -285,13 +285,7 @@ implementation
          else
          else
 {$endif x86_64}
 {$endif x86_64}
           begin
           begin
-{$ifdef i8086}
-            if left.nodetype <> callparan then
-              internalerror(2013031501);
-            load_fpu_location(tcallparanode(left).left);
-{$else i8086}
             load_fpu_location(left);
             load_fpu_location(left);
-{$endif i8086}
             location_reset_ref(location,LOC_REFERENCE,OS_S64,0);
             location_reset_ref(location,LOC_REFERENCE,OS_S64,0);
             tg.GetTemp(current_asmdata.CurrAsmList,resultdef.size,resultdef.alignment,tt_normal,location.reference);
             tg.GetTemp(current_asmdata.CurrAsmList,resultdef.size,resultdef.alignment,tt_normal,location.reference);
             emit_ref(A_FISTP,S_IQ,location.reference);
             emit_ref(A_FISTP,S_IQ,location.reference);