use '$call' all throughout setup_call_cleanup/3
This commit is contained in:
@@ -77,7 +77,7 @@ setup_call_cleanup(S, G, C) :-
|
|||||||
scc_helper(C, G, Bb) :-
|
scc_helper(C, G, Bb) :-
|
||||||
'$get_cp'(Cp),
|
'$get_cp'(Cp),
|
||||||
'$install_scc_cleaner'(C, NBb),
|
'$install_scc_cleaner'(C, NBb),
|
||||||
call(G),
|
'$call'(G),
|
||||||
( '$check_cp'(Cp) ->
|
( '$check_cp'(Cp) ->
|
||||||
'$reset_block'(Bb),
|
'$reset_block'(Bb),
|
||||||
'$call_with_default_policy'(run_cleaners_without_handling(Cp))
|
'$call_with_default_policy'(run_cleaners_without_handling(Cp))
|
||||||
@@ -110,7 +110,7 @@ run_cleaners_with_handling :-
|
|||||||
run_cleaners_without_handling(Cp) :-
|
run_cleaners_without_handling(Cp) :-
|
||||||
'$get_scc_cleaner'(C),
|
'$get_scc_cleaner'(C),
|
||||||
'$get_level'(B),
|
'$get_level'(B),
|
||||||
call(C),
|
'$call'(C),
|
||||||
'$set_cp_by_default'(B),
|
'$set_cp_by_default'(B),
|
||||||
'$call_with_default_policy'(run_cleaners_without_handling(Cp)).
|
'$call_with_default_policy'(run_cleaners_without_handling(Cp)).
|
||||||
run_cleaners_without_handling(Cp) :-
|
run_cleaners_without_handling(Cp) :-
|
||||||
|
|||||||
Reference in New Issue
Block a user