소스 검색

* don't force parameters into memory when loading them if both have the size OS_64/OS_S64

git-svn-id: trunk@22339 -
florian 13 년 전
부모
커밋
d6b548ce13
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/hlcg2ll.pas

+ 1 - 1
compiler/hlcg2ll.pas

@@ -1357,7 +1357,7 @@ implementation
           begin
 {$ifndef cpu64bitalu}
             { use cg64 only for int64, not for 8 byte records }
-            if is_64bit(vardef) then
+            if (l.size in [OS_64,OS_S64]) and (cgpara.Size in [OS_64,OS_S64]) then
               cg64.a_load64_loc_cgpara(list,l,cgpara)
             else
 {$endif not cpu64bitalu}