2008-09-23 15:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/codebloc.c
* updated old and not longer valid comment
* harbour/source/vm/memvars.c
* minor code formatting
* harbour/source/common/expropt2.c
! fixed bug in power math expression optimization caused
by two lines left in the code by mistake. Many thanks to
Maurilio for locating the problem.
* harbour/include/hbstack.h
* harbour/source/vm/estack.c
* harbour/source/vm/hvm.c
% added support for buffering hb_stack TLS access be preloading
the stack pointer into C stack function local variables.
Please make speed tests for MT mode with different C compilers
and different platforms.
This commit is contained in:
@@ -163,13 +163,12 @@ HB_CODEBLOCK_PTR hb_codeblockNew( const BYTE * pBuffer,
|
||||
|
||||
/* Create a table that will store the values of local variables
|
||||
* accessed in a codeblock
|
||||
* The element 0 is used as the counter of references to this table
|
||||
* The element 0 is unused
|
||||
* NOTE: This table can be shared by codeblocks created during
|
||||
* evaluation of this codeblock
|
||||
*/
|
||||
pLocals = ( PHB_ITEM ) hb_xgrab( ( uiLocals + 1 ) * sizeof( HB_ITEM ) );
|
||||
pLocals[ 0 ].type = HB_IT_LONG;
|
||||
pLocals[ 0 ].item.asLong.value = 1;
|
||||
pLocals[ 0 ].type = HB_IT_NIL;
|
||||
|
||||
do
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user