* converted tcgnotnode.second_integer() to hlcg

git-svn-id: branches/jvmbackend@18509 -
This commit is contained in:
Jonas Maebe 2011-08-20 08:05:48 +00:00
parent 3259eae110
commit 4c152ccb7d

View File

@ -131,7 +131,7 @@ implementation
parabase, parabase,
pass_2, pass_2,
ncon, ncon,
tgobj,ncgutil,cgobj,cgutils,paramgr tgobj,ncgutil,cgobj,cgutils,paramgr,hlcgobj
{$ifndef cpu64bitalu} {$ifndef cpu64bitalu}
,cg64f32 ,cg64f32
{$endif not cpu64bitalu} {$endif not cpu64bitalu}
@ -488,10 +488,10 @@ implementation
procedure tcgnotnode.second_integer; procedure tcgnotnode.second_integer;
begin begin
secondpass(left); secondpass(left);
location_force_reg(current_asmdata.CurrAsmList,left.location,def_cgsize(left.resultdef),false); hlcg.location_force_reg(current_asmdata.CurrAsmList,left.location,left.resultdef,left.resultdef,false);
location_copy(location,left.location); location_copy(location,left.location);
{ perform the NOT operation } { perform the NOT operation }
cg.a_op_reg_reg(current_asmdata.CurrAsmList,OP_NOT,location.size,location.register,location.register); hlcg.a_op_reg_reg(current_asmdata.CurrAsmList,OP_NOT,left.resultdef,location.register,location.register);
end; end;