浏览代码

ncgflw.pas, tcgonnode:
* pass_generate_node: get rid of unnecessary move into register

git-svn-id: branches/svenbarth/packages@32503 -

svenbarth 9 年之前
父节点
当前提交
ca91178c5d
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      compiler/ncgflw.pas

+ 1 - 3
compiler/ncgflw.pas

@@ -1284,9 +1284,7 @@ implementation
          if tf_supports_packages in target_info.flags then
          if tf_supports_packages in target_info.flags then
            begin
            begin
              reference_reset_symbol(href2,current_asmdata.RefAsmSymbol(excepttype.vmt_mangledname(true),AT_DATA),0,sizeof(pint));
              reference_reset_symbol(href2,current_asmdata.RefAsmSymbol(excepttype.vmt_mangledname(true),AT_DATA),0,sizeof(pint));
-             hreg:=hlcg.getaddressregister(current_asmdata.CurrAsmList,pvmttype);
-             hlcg.a_load_ref_reg(current_asmdata.CurrAsmList,getpointerdef(pvmttype),pvmttype,href2,hreg);
-             hlcg.a_load_reg_cgpara(current_asmdata.CurrAsmList,pvmttype,hreg,paraloc1);
+             hlcg.a_load_ref_cgpara(current_asmdata.CurrAsmList,pvmttype,href2,paraloc1);
            end
            end
          else
          else
            begin
            begin