| 21 | } |
| 22 | |
| 23 | void MemoryOptimizerHelper::set_priority_before_opt(const VarNodeArray& endpoints) { |
| 24 | mgb_assert(!m_graph_option_changed, "restore_graph_option() not called"); |
| 25 | mgb_assert(m_saved_priority.empty()); |
| 26 | m_graph_option_changed = true; |
| 27 | |
| 28 | CompSeqExtraInfo extra_info; |
| 29 | const OprNodeArray* seq; |
| 30 | MGB_TRY { seq = m_owner_graph->topo_sorter().get_comp_seq(extra_info, endpoints); } |
| 31 | MGB_FINALLY(m_owner_graph->topo_sorter().restore_opr_prop()); |
| 32 | int pri = std::numeric_limits<int>::min(); |
| 33 |
no test coverage detected