Browse Source

* converted tcgaddrnode.pass_generate_code to the high level code generator

git-svn-id: branches/hlcgllvm@27137 -
Jonas Maebe 11 years ago
parent
commit
46e7caef7d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/ncgmem.pas

+ 1 - 1
compiler/ncgmem.pas

@@ -210,7 +210,7 @@ implementation
              hlcg.location_force_mem(current_asmdata.CurrAsmList,left.location,left.resultdef)
            else
              internalerror(2006111510);
-         cg.a_loadaddr_ref_reg(current_asmdata.CurrAsmList,left.location.reference,location.register);
+         hlcg.a_loadaddr_ref_reg(current_asmdata.CurrAsmList,left.resultdef,resultdef,left.location.reference,location.register);
       end;