Browse Source

* fix paraloc def for vectors with vectorcall calling convention (was a single
element instead of a vector)

git-svn-id: trunk@43784 -

Jonas Maebe 5 năm trước cách đây
mục cha
commit
b89487e721
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      compiler/x86_64/cpupara.pas

+ 2 - 0
compiler/x86_64/cpupara.pas

@@ -1553,6 +1553,7 @@ unit cpupara;
                               else
                                 InternalError(2018012901);
                             end;
+                            paraloc^.def:=carraydef.getreusable_no_free_vector(paraloc^.def,j);
                           end;
                         else
                           if (x86_64_use_ms_abi(p.proccalloption) and (p.proccalloption <> pocall_vectorcall)) then
@@ -1858,6 +1859,7 @@ unit cpupara;
                                   else
                                     InternalError(2018012903);
                                 end;
+                                paraloc^.def:=carraydef.getreusable_no_free_vector(paraloc^.def,j);
                               end;
                             else
                               if (use_ms_abi and (p.proccalloption <> pocall_vectorcall)) then