| 9841 | }*/ |
| 9842 | |
| 9843 | BF_EXPORT bool BF_CALLTYPE BfCompiler_Compile(BfCompiler* bfCompiler, BfPassInstance* bfPassInstance, const char* outputPath) |
| 9844 | { |
| 9845 | BP_ZONE("BfCompiler_Compile"); |
| 9846 | |
| 9847 | SetAndRestoreValue<BfPassInstance*> prevPassInstance(bfCompiler->mPassInstance, bfPassInstance); |
| 9848 | bfCompiler->mPassInstance = bfPassInstance; |
| 9849 | bfCompiler->Compile(outputPath); |
| 9850 | return !bfCompiler->mPassInstance->HasFailed(); |
| 9851 | } |
| 9852 | |
| 9853 | BF_EXPORT void BF_CALLTYPE BfCompiler_ClearResults(BfCompiler* bfCompiler) |
| 9854 | { |
no test coverage detected