浏览代码

* 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}