Procházet zdrojové kódy

* use the high level code generator's getaddressregister method in thlcgobj.maybe_change_load_node_reg

git-svn-id: trunk@33636 -
nickysn před 9 roky
rodič
revize
18538494b9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      compiler/hlcgobj.pas

+ 1 - 1
compiler/hlcgobj.pas

@@ -4241,7 +4241,7 @@ implementation
             else
 {$endif cpu64bitalu}
               if getregtype(rr.old)=R_ADDRESSREGISTER then
-                rr.new := cg.getaddressregister(current_asmdata.CurrAsmList)
+                rr.new := hlcg.getaddressregister(current_asmdata.CurrAsmList,n.resultdef)
               else
                 rr.new := cg.getintregister(current_asmdata.CurrAsmList,n.location.size);
           end;