Profiler Update
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1005 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
6198cdb4bc
commit
58e306b815
@ -4240,9 +4240,11 @@ ExpandIndex(PredEntry *ap) {
|
||||
/* single case */
|
||||
return *labp;
|
||||
}
|
||||
#ifdef LOW_PROF
|
||||
if (ProfilerOn) {
|
||||
Yap_inform_profiler_of_clause(indx_out, ProfEnd, ap);
|
||||
Yap_inform_profiler_of_clause(indx_out, ProfEnd, ap,-1);
|
||||
}
|
||||
#endif /* LOW_PROF */
|
||||
if (indx_out == NULL) {
|
||||
return FAILCODE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user