* fixed misplaced braces that caused all records to be passed by reference

on ppc64 with the mwpascal calling convention, instead of only the const
    ones

git-svn-id: trunk@30219 -
This commit is contained in:
Jonas Maebe 2015-03-14 18:36:35 +00:00
parent 7bc66a5142
commit a02fb7c794

View File

@ -178,7 +178,8 @@ begin
procvardef, procvardef,
recorddef: recorddef:
result := result :=
((varspez = vs_const) and (varspez = vs_const) and
(
( (
(not (calloption in [pocall_cdecl, pocall_cppdecl]) and (not (calloption in [pocall_cdecl, pocall_cppdecl]) and
(def.size > 8)) (def.size > 8))