Răsfoiți Sursa

* unified the definition of pushleftright_pocalls on i8086 and i386

git-svn-id: trunk@38952 -
nickysn 7 ani în urmă
părinte
comite
02fb59d3e5
1 a modificat fișierele cu 2 adăugiri și 8 ștergeri
  1. 2 8
      compiler/symconst.pas

+ 2 - 8
compiler/symconst.pas

@@ -807,14 +807,8 @@ inherited_objectoptions : tobjectoptions = [oo_has_virtual,oo_has_private,oo_has
              oo_can_have_published];
 {$endif not jvm}
 
-{$ifdef i386}
-   { we only take this into account on i386, on other platforms we always
-     push in the same order
-   }
-   pushleftright_pocalls : tproccalloptions = [pocall_register,pocall_pascal];
-{$endif}
-{$ifdef i8086}
-   { we only take this into account on i386, on other platforms we always
+{$if defined(i8086) or defined(i386)}
+   { we only take this into account on i8086 and i386, on other platforms we always
      push in the same order
    }
    pushleftright_pocalls : tproccalloptions = [pocall_register,pocall_pascal];