From 704466c3fed0883fbc4ef83194260f8c6e884eec Mon Sep 17 00:00:00 2001 From: Antonio Linares Date: Thu, 31 Jan 2002 06:55:26 +0000 Subject: [PATCH] removed uneeded hb_itemClear() calls in hb_vmOperatorCall() and hb_vmOperatorCallUnary() --- harbour/source/vm/hvm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/harbour/source/vm/hvm.c b/harbour/source/vm/hvm.c index 52068cf300..4678c5812a 100644 --- a/harbour/source/vm/hvm.c +++ b/harbour/source/vm/hvm.c @@ -2862,7 +2862,6 @@ static void hb_vmOperatorCall( PHB_ITEM pObjItem, PHB_ITEM pMsgItem, char * szSy * NOTE: for performance reason we don't pop the second argument. * We can replace the second argument with the return value. */ - hb_itemClear( pObjItem ); hb_itemCopy( pObjItem, &hb_stack.Return ); } @@ -2889,7 +2888,6 @@ static void hb_vmOperatorCallUnary( PHB_ITEM pObjItem, char * szSymbol ) * NOTE: for performance reason we don't pop it and we don't push the * return value. We can replace the last element with the new value. */ - hb_itemClear( pObjItem ); hb_itemCopy( pObjItem, &hb_stack.Return ); } @@ -4864,4 +4862,4 @@ HB_FUNC( __OPGETPRF ) /* profiler: It returns an array with an opcode called and hb_stornl( hb_ulOpcodesCalls[ ulOpcode ], -1, 1 ); hb_stornl( hb_ulOpcodesTime[ ulOpcode ], -1, 2 ); } -} +} \ No newline at end of file