Преглед изворни кода

* finished conversion of second_class_to_intf to the high level code
generator after r32301

git-svn-id: trunk@32313 -

Jonas Maebe пре 9 година
родитељ
комит
d444b365e1
1 измењених фајлова са 1 додато и 4 уклоњено
  1. 1 4
      compiler/ncgcnv.pas

+ 1 - 4
compiler/ncgcnv.pas

@@ -714,10 +714,7 @@ interface
                      begin
                        current_asmdata.getjumplabel(l1);
                        hlcg.a_cmp_const_reg_label(current_asmdata.CurrAsmList,resultdef,OC_EQ,0,location.register,l1);
-                       { todo: consider adding far pointer support to hlcg.a_op_const_reg for i8086 (i.e. perform the
-                               arithmetic operation only on the offset), then the next line can be converted to the
-                               high level code generator as well }
-                       cg.a_op_const_reg(current_asmdata.CurrAsmList,OP_ADD,OS_ADDR,ImplIntf.ioffset,location.register);
+                       hlcg.a_op_const_reg(current_asmdata.CurrAsmList,OP_ADD,resultdef,ImplIntf.ioffset,location.register);
                        break;
                      end;
                    else