2000-12-14 17:00 UTC+0800 Ron Pinkas <ron@profit-master.com>

* source/vm/eval.c
     * Removed unneeded hb_stackItemFromBase(1), reverted to use pItem obtained by hb_param()
This commit is contained in:
Ron Pinkas
2000-12-15 00:59:23 +00:00
parent cca631828b
commit 632860df4a
2 changed files with 5 additions and 7 deletions

View File

@@ -1,3 +1,7 @@
2000-12-14 17:00 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/vm/eval.c
* Removed unneeded hb_stackItemFromBase(1), reverted to use pItem obtained by hb_param()
2000-12-13 22:04 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
* source/vm/estack.c
+ added missing semicolons (lines 374 and 416)

View File

@@ -47,15 +47,9 @@ HB_FUNC( EVAL )
{
USHORT uiPCount = hb_pcount();
USHORT uiParam;
PHB_ITEM pBlock = hb_stackItemFromBase( 1 );
if( HB_IS_BYREF( pBlock ) )
{
pBlock = hb_itemUnRef( pBlock );
}
hb_vmPushSymbol( &hb_symEval );
hb_vmPush( pBlock );
hb_vmPush( pItem );
/* NOTE: hb_param() function cannot be used for parameter access
* because we need to pass the references too.
* hb_param() is dereferencing the passed parameters