Browse Source

* pass records of all sizes by reference if they are const

git-svn-id: trunk@3251 -
florian 19 years ago
parent
commit
5a888656ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/x86_64/cpupara.pas

+ 1 - 1
compiler/x86_64/cpupara.pas

@@ -183,7 +183,7 @@ unit cpupara;
           formaldef :
             result:=true;
           recorddef :
-            result:=(def.size>sizeof(aint));
+            result:=(def.size>sizeof(aint)) or (varspez=vs_const);
           arraydef :
             begin
               result:=not(