* finished conversion of second_class_to_intf to the high level code

generator after r32301

git-svn-id: trunk@32313 -
This commit is contained in:
Jonas Maebe 2015-11-13 17:48:16 +00:00
parent 78362ed6ae
commit d444b365e1

View File

@ -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