| 31 | |
| 32 | #if MGB_ENABLE_EXCEPTION |
| 33 | [[noreturn]] void update_rethrow_exc(VarNode* var, MegBrainError& exc) { |
| 34 | if (var && !exc.extra_info()) { |
| 35 | OperatorNodeExcExtraInfo::record(var->owner_opr(), exc); |
| 36 | } |
| 37 | throw; |
| 38 | } |
| 39 | #endif |
| 40 | |
| 41 | } // namespace |
no test coverage detected