removed uneeded hb_itemClear() calls in hb_vmOperatorCall() and

hb_vmOperatorCallUnary()
This commit is contained in:
Antonio Linares
2002-01-31 06:55:26 +00:00
parent 5b1389c460
commit 704466c3fe

View File

@@ -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 );
}
}
}