diff options
Diffstat (limited to 'llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h')
| -rw-r--r-- | llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h index ddd469b9ae2..04ad86e34bf 100644 --- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h +++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h @@ -116,8 +116,8 @@ public: [this](std::unique_ptr<Module> M) { return optimizeModule(std::move(M)); }), - CompileCallbackMgr(orc::createLocalCompileCallbackManager( - TM->getTargetTriple(), ES, 0)) { + CompileCallbackMgr(cantFail(orc::createLocalCompileCallbackManager( + TM->getTargetTriple(), ES, 0))) { auto IndirectStubsMgrBuilder = orc::createLocalIndirectStubsManagerBuilder(TM->getTargetTriple()); IndirectStubsMgr = IndirectStubsMgrBuilder(); |

