Loading lib_debug/wmc_auto.c +18 −21 Original line number Diff line number Diff line Loading @@ -263,7 +263,6 @@ void push_wmops_fct( const char *label, ... ) } wmops[i].LastWOper = 0; } } strcpy( wmops[index_record].label, func_name ); Loading Loading @@ -2217,5 +2216,3 @@ void Reset_BASOP_WMOPS_counter( void ) } #endif lib_debug/wmc_auto.h +105 −81 Original line number Diff line number Diff line Loading @@ -1220,9 +1220,14 @@ void Reset_BASOP_WMOPS_counter( void ); #define FOR( a ) for ( a ) #else #define FOR( a) if( incrFor(), 0); else for( a) #define FOR( a ) \ if ( incrFor(), 0 ) \ ; \ else \ for ( a ) static __inline void incrFor( void) { static __inline void incrFor( void ) { multiCounter[currCounter].For++; } #endif Loading @@ -1247,7 +1252,8 @@ static __inline void incrFor( void) { #else #define WHILE( a ) while ( incrWhile(), a ) static __inline void incrWhile( void) { static __inline void incrWhile( void ) { multiCounter[currCounter].While++; } #endif Loading Loading @@ -1299,7 +1305,8 @@ static __inline void incrWhile( void) { #else #define IF( a ) if ( incrIf(), a ) static __inline void incrIf( void) { static __inline void incrIf( void ) { /* Technical note : * If the "IF" operator comes just after an "ELSE", its counter * must not be incremented. Loading Loading @@ -1330,9 +1337,12 @@ static __inline void incrIf( void) { #define ELSE else #else #define ELSE else if( incrElse(), 0) ; else #define ELSE \ else if ( incrElse(), 0 ); \ else static __inline void incrElse( void) { static __inline void incrElse( void ) { multiCounter[currCounter].If++; /* We keep track of the funcId of the last function Loading Loading @@ -1369,7 +1379,8 @@ static __inline void incrElse( void) { #else #define SWITCH( a ) switch ( incrSwitch(), a ) static __inline void incrSwitch( void) { static __inline void incrSwitch( void ) { multiCounter[currCounter].Switch++; } #endif Loading @@ -1390,9 +1401,14 @@ static __inline void incrSwitch( void) { #define CONTINUE continue #else #define CONTINUE if( incrContinue(), 0); else continue #define CONTINUE \ if ( incrContinue(), 0 ) \ ; \ else \ continue static __inline void incrContinue( void) { static __inline void incrContinue( void ) { multiCounter[currCounter].Continue++; } #endif Loading @@ -1413,9 +1429,14 @@ static __inline void incrContinue( void) { #define BREAK break #else #define BREAK if( incrBreak(), 0) break; else break #define BREAK \ if ( incrBreak(), 0 ) \ break; \ else \ break static __inline void incrBreak( void) { static __inline void incrBreak( void ) { multiCounter[currCounter].Break++; } #endif Loading @@ -1436,13 +1457,16 @@ static __inline void incrBreak( void) { #define GOTO goto #else #define GOTO if( incrGoto(), 0); else goto #define GOTO \ if ( incrGoto(), 0 ) \ ; \ else \ goto static __inline void incrGoto( void) { static __inline void incrGoto( void ) { multiCounter[currCounter].Goto++; } #endif #endif /* WMOPS_H */ lib_enc/ivas_rom_enc.h +9 −9 File changed.Contains only whitespace changes. Show changes Loading
lib_debug/wmc_auto.c +18 −21 Original line number Diff line number Diff line Loading @@ -263,7 +263,6 @@ void push_wmops_fct( const char *label, ... ) } wmops[i].LastWOper = 0; } } strcpy( wmops[index_record].label, func_name ); Loading Loading @@ -2217,5 +2216,3 @@ void Reset_BASOP_WMOPS_counter( void ) } #endif
lib_debug/wmc_auto.h +105 −81 Original line number Diff line number Diff line Loading @@ -1220,9 +1220,14 @@ void Reset_BASOP_WMOPS_counter( void ); #define FOR( a ) for ( a ) #else #define FOR( a) if( incrFor(), 0); else for( a) #define FOR( a ) \ if ( incrFor(), 0 ) \ ; \ else \ for ( a ) static __inline void incrFor( void) { static __inline void incrFor( void ) { multiCounter[currCounter].For++; } #endif Loading @@ -1247,7 +1252,8 @@ static __inline void incrFor( void) { #else #define WHILE( a ) while ( incrWhile(), a ) static __inline void incrWhile( void) { static __inline void incrWhile( void ) { multiCounter[currCounter].While++; } #endif Loading Loading @@ -1299,7 +1305,8 @@ static __inline void incrWhile( void) { #else #define IF( a ) if ( incrIf(), a ) static __inline void incrIf( void) { static __inline void incrIf( void ) { /* Technical note : * If the "IF" operator comes just after an "ELSE", its counter * must not be incremented. Loading Loading @@ -1330,9 +1337,12 @@ static __inline void incrIf( void) { #define ELSE else #else #define ELSE else if( incrElse(), 0) ; else #define ELSE \ else if ( incrElse(), 0 ); \ else static __inline void incrElse( void) { static __inline void incrElse( void ) { multiCounter[currCounter].If++; /* We keep track of the funcId of the last function Loading Loading @@ -1369,7 +1379,8 @@ static __inline void incrElse( void) { #else #define SWITCH( a ) switch ( incrSwitch(), a ) static __inline void incrSwitch( void) { static __inline void incrSwitch( void ) { multiCounter[currCounter].Switch++; } #endif Loading @@ -1390,9 +1401,14 @@ static __inline void incrSwitch( void) { #define CONTINUE continue #else #define CONTINUE if( incrContinue(), 0); else continue #define CONTINUE \ if ( incrContinue(), 0 ) \ ; \ else \ continue static __inline void incrContinue( void) { static __inline void incrContinue( void ) { multiCounter[currCounter].Continue++; } #endif Loading @@ -1413,9 +1429,14 @@ static __inline void incrContinue( void) { #define BREAK break #else #define BREAK if( incrBreak(), 0) break; else break #define BREAK \ if ( incrBreak(), 0 ) \ break; \ else \ break static __inline void incrBreak( void) { static __inline void incrBreak( void ) { multiCounter[currCounter].Break++; } #endif Loading @@ -1436,13 +1457,16 @@ static __inline void incrBreak( void) { #define GOTO goto #else #define GOTO if( incrGoto(), 0); else goto #define GOTO \ if ( incrGoto(), 0 ) \ ; \ else \ goto static __inline void incrGoto( void) { static __inline void incrGoto( void ) { multiCounter[currCounter].Goto++; } #endif #endif /* WMOPS_H */