2006-02-11 16:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/harbour.c
* do not strip redundant line information when compiled for debug (-b)
* harbour/source/compiler/harbour.y
! fixed typo in hb_compSequenceFinish() call - Ryszard please check me.
using iNumber instead of lNumber caused that on big endian machines
begin sequence / endsequence block was stripped
* harbour/source/compiler/hbdead.c
! fixed stupid typo in counting length of debug variable/module names
This commit is contained in:
@@ -8,6 +8,18 @@
|
||||
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
* fixed <-x-> match marker
|
||||
2006-02-11 16:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/source/compiler/harbour.c
|
||||
* do not strip redundant line information when compiled for debug (-b)
|
||||
|
||||
* harbour/source/compiler/harbour.y
|
||||
! fixed typo in hb_compSequenceFinish() call - Ryszard please check me.
|
||||
using iNumber instead of lNumber caused that on big endian machines
|
||||
begin sequence / endsequence block was stripped
|
||||
|
||||
* harbour/source/compiler/hbdead.c
|
||||
! fixed stupid typo in counting length of debug variable/module names
|
||||
|
||||
2006-02-11 13:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/include/Makefile
|
||||
* added missing header files
|
||||
|
||||
@@ -3722,7 +3722,7 @@ static void hb_compOptimizeJumps( void )
|
||||
{
|
||||
LONG lOffset;
|
||||
|
||||
if( iPass == 2 )
|
||||
if( iPass == 2 && ! hb_comp_bDebugInfo )
|
||||
hb_compStripFuncLines( hb_comp_functions.pLast );
|
||||
|
||||
if( hb_comp_functions.pLast->iJumps > 0 )
|
||||
|
||||
@@ -1796,7 +1796,7 @@ BeginSeq : BEGINSEQ { ++hb_comp_wSeqCounter; $<lNumber>$ = hb_compSequenceBegi
|
||||
hb_compGenJumpThere( $<lNumber>5, hb_comp_functions.pLast->lPCodePos );
|
||||
if( !$<lNumber>6 ) /* only if there is no RECOVER clause */
|
||||
--hb_comp_wSeqCounter; /* RECOVER is also considered as end of sequence */
|
||||
hb_compSequenceFinish( $<lNumber>2, $<iNumber>4 );
|
||||
hb_compSequenceFinish( $<lNumber>2, $<lNumber>4 );
|
||||
hb_comp_functions.pLast->bFlags &= ~ FUN_WITH_RETURN;
|
||||
}
|
||||
;
|
||||
|
||||
@@ -167,7 +167,7 @@ static HB_CODETRACE_FUNC( hb_p_localname )
|
||||
ULONG ulStart = lPCodePos;
|
||||
|
||||
lPCodePos += 3;
|
||||
while( pFunc->pCode[ lPCodePos + lPCodePos++ ] );
|
||||
while( pFunc->pCode[ lPCodePos++ ] );
|
||||
|
||||
hb_compCodeTraceMark( cargo, ulStart, lPCodePos - ulStart );
|
||||
return hb_compCodeTraceNextPos( cargo, lPCodePos );
|
||||
@@ -177,7 +177,7 @@ static HB_CODETRACE_FUNC( hb_p_modulename )
|
||||
{
|
||||
ULONG ulStart = lPCodePos;
|
||||
|
||||
while( pFunc->pCode[ lPCodePos + lPCodePos++ ] );
|
||||
while( pFunc->pCode[ lPCodePos++ ] );
|
||||
|
||||
hb_compCodeTraceMark( cargo, ulStart, lPCodePos - ulStart );
|
||||
return hb_compCodeTraceNextPos( cargo, lPCodePos );
|
||||
@@ -188,7 +188,7 @@ static HB_CODETRACE_FUNC( hb_p_staticname )
|
||||
ULONG ulStart = lPCodePos;
|
||||
|
||||
lPCodePos += 4;
|
||||
while( pFunc->pCode[ lPCodePos + lPCodePos++ ] );
|
||||
while( pFunc->pCode[ lPCodePos++ ] );
|
||||
|
||||
hb_compCodeTraceMark( cargo, ulStart, lPCodePos - ulStart );
|
||||
return hb_compCodeTraceNextPos( cargo, lPCodePos );
|
||||
|
||||
Reference in New Issue
Block a user