9 op = Yap_op_from_opcode(pc->opc);
18 return walk_got_lu_block(pc->y_u.Illss.I, startp, endp);
26 case _alloc_for_logical_pred:
27 return walk_got_lu_clause(pc->y_u.L.ClBase, startp, endp);
36 pp = pc->y_u.Osblp.p0;
37 pc = NEXTOP(pc,Osblp);
42 pc = NEXTOP(pc,Osbmp);
46 pc = NEXTOP(pc,Osbpa);
51 return walk_found_c_pred(pp, startp, endp);
54 return walk_found_c_pred(pp, startp, endp);
57 return walk_found_c_pred(pp, startp, endp);
59 return found_meta_call(startp, endp);
65 pp = pc->y_u.Osbpp.p0;
66 pc = NEXTOP(pc,Osbpp);
69 case _count_trust_logical:
70 case _profiled_trust_logical:
72 return walk_got_lu_block(pc->y_u.OtILl.block, startp, endp);
74 case _count_retry_logical:
75 case _profiled_retry_logical:
88 pp = pc->y_u.OtapFs.p;
89 pc = NEXTOP(pc,OtapFs);
92 case _count_retry_and_mark:
95 case _profiled_retry_and_mark:
96 case _profiled_retry_me:
97 case _profiled_trust_me:
101 case _spy_or_trymark:
108 pp = pc->y_u.Otapl.p;
109 pc = NEXTOP(pc,Otapl);
125 pc = NEXTOP(pc,cccc);
129 pc = NEXTOP(pc,ccccc);
133 pc = NEXTOP(pc,cccccc);
137 pc = NEXTOP(pc,clll);
147 return found_idb_clause(pc, startp, endp);
149 return found_expand(pc, startp, endp PASS_REGS);
151 return found_owner_op(pc, startp, endp PASS_REGS);
153 return found_owner_op(pc, startp, endp PASS_REGS);
155 if (codeptr == FAILCODE)
156 return found_fail(pc, startp, endp PASS_REGS);
160 return found_owner_op(pc, startp, endp PASS_REGS);
162 if (codeptr == TRUSTFAILCODE)
163 return found_fail(pc, startp, endp PASS_REGS);
167 return found_owner_op(pc, startp, endp PASS_REGS);
168 case _unify_idb_term:
169 return found_idb_clause(pc, startp, endp);
201 return found_ystop(pc, clause_code, startp, endp, pp PASS_REGS);
216 case _switch_on_type:
217 pc = NEXTOP(pc,llll);
231 case _unify_l_list_write:
233 case _unify_l_void_write:
235 case _unify_list_write:
237 case _unify_void_write:
242 case _unify_l_dbterm:
247 case _unify_l_bigint:
252 case _unify_atom_write:
254 case _unify_l_atom_write:
259 case _unify_float_write:
261 case _unify_l_float_write:
266 case _unify_l_struc_write:
268 case _unify_struct_write:
272 case _unify_l_longint:
273 case _unify_l_longint_write:
275 case _unify_longint_write:
279 case _switch_list_nl:
280 pc = NEXTOP(pc,ollll);
286 case _unify_l_n_voids:
287 case _unify_l_n_voids_write:
289 case _unify_n_voids_write:
294 case _unify_n_atoms_write:
298 case _unify_l_string:
304 case _save_appl_x_write:
306 case _save_pair_x_write:
308 case _unify_l_x_loc_write:
310 case _unify_l_x_val_write:
312 case _unify_l_x_var_write:
314 case _unify_x_loc_write:
316 case _unify_x_val_write:
318 case _unify_x_var_write:
322 case _unify_l_x_var2:
323 case _unify_l_x_var2_write:
325 case _unify_x_var2_write:
330 case _save_appl_y_write:
332 case _save_pair_y_write:
334 case _unify_l_y_loc_write:
336 case _unify_l_y_val_write:
338 case _unify_l_y_var_write:
340 case _unify_y_loc_write:
342 case _unify_y_val_write:
344 case _unify_y_var_write:
351 if (pp->PredFlags & MegaClausePredFlag)
352 return found_mega_clause(pp, startp, endp);
359 case _enter_profiling:
360 case _retry_profiled:
367 pc = NEXTOP(pc,plxxs);
372 pc = NEXTOP(pc,plxys);
376 pc = NEXTOP(pc,plyys);
391 case _switch_on_sub_arg_type:
392 pc = NEXTOP(pc,sllll);
397 return walk_found_c_pred(pp, startp, endp);
403 case _switch_on_cons:
404 case _switch_on_func:
405 pc = NEXTOP(pc,sssl);
408 case _expand_clauses:
409 return found_expand_index(pc, startp, endp, codeptr PASS_REGS);
410 pc = NEXTOP(pc,sssllp);
466 case _jump_if_nonvar:
470 case _switch_on_arg_type:
471 pc = NEXTOP(pc,xllll);
528 pc = NEXTOP(pc,xxxx);
611 pc = NEXTOP(pc,yyxx);
619 pp = pc->y_u.Otapl.p;
620 pc = NEXTOP(pc,Otapl);
623 case _getwork_first_time:
629 case _table_answer_resolution:
630#ifdef THREADS_CONSUMER_SHARING
631 case _table_answer_resolution_completion:
633 case _table_completion:
634 case _table_load_answer:
636 case _table_retry_me:
638 case _table_trust_me:
640 case _table_try_answer:
642 case _table_try_single:
644 pp = pc->y_u.Otapl.p;
645 pc = NEXTOP(pc,Otapl);
648#ifdef TABLING_INNER_CUTS
649 case _clause_with_cut:
654 case _table_new_answer:
659 case _trie_do_appl_in_pair:
661 case _trie_do_atom_in_pair:
662 case _trie_do_bigint:
663 case _trie_do_double:
664 case _trie_do_extension:
666 case _trie_do_longint:
668 case _trie_do_null_in_pair:
671 case _trie_do_val_in_pair:
673 case _trie_do_var_in_pair:
674 case _trie_retry_appl:
675 case _trie_retry_appl_in_pair:
676 case _trie_retry_atom:
677 case _trie_retry_atom_in_pair:
678 case _trie_retry_bigint:
679 case _trie_retry_double:
680 case _trie_retry_extension:
681 case _trie_retry_gterm:
682 case _trie_retry_longint:
683 case _trie_retry_null:
684 case _trie_retry_null_in_pair:
685 case _trie_retry_pair:
686 case _trie_retry_val:
687 case _trie_retry_val_in_pair:
688 case _trie_retry_var:
689 case _trie_retry_var_in_pair:
690 case _trie_trust_appl:
691 case _trie_trust_appl_in_pair:
692 case _trie_trust_atom:
693 case _trie_trust_atom_in_pair:
694 case _trie_trust_bigint:
695 case _trie_trust_double:
696 case _trie_trust_extension:
697 case _trie_trust_gterm:
698 case _trie_trust_longint:
699 case _trie_trust_null:
700 case _trie_trust_null_in_pair:
701 case _trie_trust_pair:
702 case _trie_trust_val:
703 case _trie_trust_val_in_pair:
704 case _trie_trust_var:
705 case _trie_trust_var_in_pair:
707 case _trie_try_appl_in_pair:
709 case _trie_try_atom_in_pair:
710 case _trie_try_bigint:
711 case _trie_try_double:
712 case _trie_try_extension:
713 case _trie_try_gterm:
714 case _trie_try_longint:
716 case _trie_try_null_in_pair:
719 case _trie_try_val_in_pair:
721 case _trie_try_var_in_pair:
728 pp = pc->y_u.Osblp.p0;
729 if (pp->PredFlags & MegaClausePredFlag)
730 return found_mega_clause(pp, startp, endp);
732 pc = NEXTOP(pc,Osblp);
735 if (pp->PredFlags & MegaClausePredFlag)
736 return found_mega_clause(pp, startp, endp);