core/contrib: whitespace/minor [ci skip]
This commit is contained in:
@@ -1693,7 +1693,9 @@ static void hb_compOptimizeFrames( HB_COMP_DECL, PHB_HFUNC pFunc )
|
||||
|
||||
/* NOTE: For some reason this will not work for the static init
|
||||
function, so I'm using an ugly hack instead. [vszakats] */
|
||||
/* if( !( pFunc->funFlags & HB_FUNF_USES_STATICS ) ) */
|
||||
#if 0
|
||||
if( !( pFunc->funFlags & HB_FUNF_USES_STATICS ) )
|
||||
#endif
|
||||
if( pFunc->pCode[ 8 ] == HB_P_ENDPROC )
|
||||
{
|
||||
pFunc->nPCodePos -= 3;
|
||||
|
||||
@@ -966,7 +966,7 @@ static HB_BOOL hb_compIsUncondJump( HB_BYTE bPCode )
|
||||
return bPCode == HB_P_JUMPNEAR ||
|
||||
bPCode == HB_P_JUMP ||
|
||||
bPCode == HB_P_JUMPFAR;
|
||||
/* || bPCode == HB_P_SEQEND;
|
||||
/* || bPCode == HB_P_SEQEND;
|
||||
BEGIN SEQUENCE/END SEQUENCE logic could not be processed using conditional/unconditional
|
||||
jumps. I set HB_P_SEQEND as conditional jump though this PCode instruction is processed
|
||||
as unconditional jump by Harbour VM. This hack solves 'Variable is assigned but not used'
|
||||
@@ -1579,7 +1579,7 @@ static void hb_compPCodeEnumRenumberLocals( PHB_HFUNC pFunc, PHB_OPT_LOCAL pLoca
|
||||
{
|
||||
isVar = pLocals[ isVar - 1 ].isNumber;
|
||||
|
||||
assert( isVar > 0 ); /* We do not allow removal of detached locals */
|
||||
assert( isVar > 0 ); /* We do not allow removal of detached locals */
|
||||
|
||||
pVar[ 0 ] = HB_LOBYTE( isVar );
|
||||
pVar[ 1 ] = HB_HIBYTE( isVar );
|
||||
|
||||
Reference in New Issue
Block a user