replace by macros wherever possible.
This commit is contained in:
parent
139fc6c440
commit
5b47d00cbc
|
@ -102,7 +102,7 @@ void prune_shared_branch(choiceptr prune_cp) {
|
||||||
} while (Get_LOCAL_top_cp() != prune_cp);
|
} while (Get_LOCAL_top_cp() != prune_cp);
|
||||||
|
|
||||||
#ifdef YAPOR_ERRORS
|
#ifdef YAPOR_ERRORS
|
||||||
if (Get_LOCAL_prune_request() && EQUAL_OR_YOUNGER_CP(LOCAL_prune_request, LOCAL_top_cp))
|
if (Get_LOCAL_prune_request() && EQUAL_OR_YOUNGER_CP(Get_LOCAL_prune_request(), Get_LOCAL_top_cp()))
|
||||||
YAPOR_ERROR_MESSAGE("EQUAL_OR_YOUNGER_CP(LOCAL_prune_request, LOCAL_top_cp) (prune_shared_branch)");
|
YAPOR_ERROR_MESSAGE("EQUAL_OR_YOUNGER_CP(LOCAL_prune_request, LOCAL_top_cp) (prune_shared_branch)");
|
||||||
#endif /* YAPOR_ERRORS */
|
#endif /* YAPOR_ERRORS */
|
||||||
/* store answers not pruned */
|
/* store answers not pruned */
|
||||||
|
@ -192,7 +192,7 @@ void prune_shared_branch(choiceptr prune_cp) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef YAPOR_ERRORS
|
#ifdef YAPOR_ERRORS
|
||||||
if (Get_LOCAL_prune_request() && EQUAL_OR_YOUNGER_CP(LOCAL_prune_request, Get_LOCAL_top_cp()))
|
if (Get_LOCAL_prune_request() && EQUAL_OR_YOUNGER_CP(Get_LOCAL_prune_request(), Get_LOCAL_top_cp()))
|
||||||
YAPOR_ERROR_MESSAGE("EQUAL_OR_YOUNGER_CP(LOCAL_prune_request, Get_LOCAL_top_cp()) (prune_shared_branch)");
|
YAPOR_ERROR_MESSAGE("EQUAL_OR_YOUNGER_CP(LOCAL_prune_request, Get_LOCAL_top_cp()) (prune_shared_branch)");
|
||||||
#endif /* YAPOR_ERRORS */
|
#endif /* YAPOR_ERRORS */
|
||||||
/* store answers not pruned */
|
/* store answers not pruned */
|
||||||
|
|
Reference in New Issue