| 285 | } |
| 286 | template <typename... Args> |
| 287 | ExceptionInstance *newException(Args &&...Values) { |
| 288 | std::unique_lock Lock(Mutex); |
| 289 | OwnedExceptionInsts.push_back( |
| 290 | std::make_unique<ExceptionInstance>(std::forward<Args>(Values)...)); |
| 291 | return OwnedExceptionInsts.back().get(); |
| 292 | } |
| 293 | |
| 294 | /// Import instances into this module instance. |
| 295 | void importFunction(FunctionInstance *Func) { |
no test coverage detected