From 4c152ccb7dd83d36b693f361e26f589971a1c8b9 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sat, 20 Aug 2011 08:05:48 +0000 Subject: [PATCH] * converted tcgnotnode.second_integer() to hlcg git-svn-id: branches/jvmbackend@18509 - --- compiler/ncgmat.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/ncgmat.pas b/compiler/ncgmat.pas index 2d47e78ec4..22376699d8 100644 --- a/compiler/ncgmat.pas +++ b/compiler/ncgmat.pas @@ -131,7 +131,7 @@ implementation parabase, pass_2, ncon, - tgobj,ncgutil,cgobj,cgutils,paramgr + tgobj,ncgutil,cgobj,cgutils,paramgr,hlcgobj {$ifndef cpu64bitalu} ,cg64f32 {$endif not cpu64bitalu} @@ -488,10 +488,10 @@ implementation procedure tcgnotnode.second_integer; begin 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); { 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;