| 619 | } |
| 620 | |
| 621 | void StaticInferManagerImpl::TagTraitMutableBase::sync_from_var() { |
| 622 | mgb_assert(!m_initialized && m_infer_type == InferType::NO_DESC); |
| 623 | auto rst = do_sync_from_var(); |
| 624 | mgb_assert(rst != InferResult::FAILED); |
| 625 | if (rst == InferResult::CHANGED) { |
| 626 | ++m_inp_element_version; |
| 627 | reset_inp_element_synced(); |
| 628 | } |
| 629 | } |
| 630 | |
| 631 | void StaticInferManagerImpl::TagTraitMutableBase::reset_inp_element_synced() { |
| 632 | if (!m_inp_element_synced) { |
no test coverage detected