| 93 | #if defined(ASSERTIONS_ENABLED) && ASSERTIONS_ENABLED |
| 94 | fextl::vector<fextl::unique_ptr<Pass>> ValidationPasses; |
| 95 | void InsertValidationPass(fextl::unique_ptr<Pass> Pass, fextl::string Name = "") { |
| 96 | Pass->RegisterPassManager(this); |
| 97 | auto PassPtr = ValidationPasses.emplace_back(std::move(Pass)).get(); |
| 98 | |
| 99 | if (!Name.empty()) { |
| 100 | NameToPassMaping[Name] = PassPtr; |
| 101 | } |
| 102 | } |
| 103 | #endif |
| 104 | |
| 105 | FEX_CONFIG_OPT(Is64BitMode, IS64BIT_MODE); |
nothing calls this directly
no test coverage detected