Loading lib_debug/wmc_auto.h +13 −7 Original line number Diff line number Diff line Loading @@ -762,7 +762,8 @@ static int wmc_flag_ = 0; #endif /* Flow Control keywords */ #define if_ OP_COUNT_WRAPPER2_( BRANCH_( 1 ) ) if #define if_ OP_COUNT_WRAPPER2_( BRANCH_( 1 ) ) \ if #define for_ OP_COUNT_WRAPPER2_( LOOP_(1)) for #define while_( c ) \ while \ Loading @@ -775,12 +776,17 @@ static int wmc_flag_ = 0; } \ while #define goto_ OP_COUNT_WRAPPER2_( BRANCH_( 1 ) ) goto #define break_ OP_COUNT_WRAPPER2_( BRANCH_( 1 ) ) break #define continue_ OP_COUNT_WRAPPER2_( BRANCH_( 1 ) ) continue #define return_ OP_COUNT_WRAPPER2_( ( wmc_flag_ = stack_tree_level_, STACK_DEPTH_FCT_RETURN ) ) return #define switch_ OP_COUNT_WRAPPER2_( ( BRANCH_( 1 ), wmc_flag_ = 1 ) ) switch #define goto_ OP_COUNT_WRAPPER2_( BRANCH_( 1 ) ) \ goto #define break_ OP_COUNT_WRAPPER2_( BRANCH_( 1 ) ) \ break #define continue_ OP_COUNT_WRAPPER2_( BRANCH_( 1 ) ) \ continue #define return_ OP_COUNT_WRAPPER2_( ( wmc_flag_ = stack_tree_level_, STACK_DEPTH_FCT_RETURN ) ) \ return #define switch_ OP_COUNT_WRAPPER2_( ( BRANCH_( 1 ), wmc_flag_ = 1 ) ) \ switch #define cost_( n ) OP_COUNT_WRAPPER2_( wmc_flag_ ? ( ADD_( n ), BRANCH_( n ), wmc_flag_ = 0 ) : 0 ); #ifdef WMOPS Loading Loading
lib_debug/wmc_auto.h +13 −7 Original line number Diff line number Diff line Loading @@ -762,7 +762,8 @@ static int wmc_flag_ = 0; #endif /* Flow Control keywords */ #define if_ OP_COUNT_WRAPPER2_( BRANCH_( 1 ) ) if #define if_ OP_COUNT_WRAPPER2_( BRANCH_( 1 ) ) \ if #define for_ OP_COUNT_WRAPPER2_( LOOP_(1)) for #define while_( c ) \ while \ Loading @@ -775,12 +776,17 @@ static int wmc_flag_ = 0; } \ while #define goto_ OP_COUNT_WRAPPER2_( BRANCH_( 1 ) ) goto #define break_ OP_COUNT_WRAPPER2_( BRANCH_( 1 ) ) break #define continue_ OP_COUNT_WRAPPER2_( BRANCH_( 1 ) ) continue #define return_ OP_COUNT_WRAPPER2_( ( wmc_flag_ = stack_tree_level_, STACK_DEPTH_FCT_RETURN ) ) return #define switch_ OP_COUNT_WRAPPER2_( ( BRANCH_( 1 ), wmc_flag_ = 1 ) ) switch #define goto_ OP_COUNT_WRAPPER2_( BRANCH_( 1 ) ) \ goto #define break_ OP_COUNT_WRAPPER2_( BRANCH_( 1 ) ) \ break #define continue_ OP_COUNT_WRAPPER2_( BRANCH_( 1 ) ) \ continue #define return_ OP_COUNT_WRAPPER2_( ( wmc_flag_ = stack_tree_level_, STACK_DEPTH_FCT_RETURN ) ) \ return #define switch_ OP_COUNT_WRAPPER2_( ( BRANCH_( 1 ), wmc_flag_ = 1 ) ) \ switch #define cost_( n ) OP_COUNT_WRAPPER2_( wmc_flag_ ? ( ADD_( n ), BRANCH_( n ), wmc_flag_ = 0 ) : 0 ); #ifdef WMOPS Loading