浏览代码

* set the node complexity of realconstn to 1 instead of the default (maximum)

git-svn-id: trunk@12919 -
Jonas Maebe 16 年之前
父节点
当前提交
d8aa5a1ff8
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      compiler/nutils.pas

+ 2 - 0
compiler/nutils.pas

@@ -630,6 +630,8 @@ implementation
         while assigned(p) do
         while assigned(p) do
           begin
           begin
             case p.nodetype of
             case p.nodetype of
+              { floating point constants usually need loading from memory }
+              realconstn,
               temprefn,
               temprefn,
               loadvmtaddrn,
               loadvmtaddrn,
               { main reason for the next one: we can't take the address of }
               { main reason for the next one: we can't take the address of }