diff options
Diffstat (limited to 'llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h')
| -rw-r--r-- | llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h index 1060256ec0d..4dc08470dff 100644 --- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h +++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h @@ -47,7 +47,6 @@ private: ThreadSafeContext Ctx; public: - KaleidoscopeJIT(JITTargetMachineBuilder JTMB, DataLayout DL) : ObjectLayer(ES, []() { return llvm::make_unique<SectionMemoryManager>(); }), @@ -86,10 +85,8 @@ public: } private: - static Expected<ThreadSafeModule> - optimizeModule(ThreadSafeModule TSM, - const MaterializationResponsibility &R) { + optimizeModule(ThreadSafeModule TSM, const MaterializationResponsibility &R) { // Create a function pass manager. auto FPM = llvm::make_unique<legacy::FunctionPassManager>(TSM.getModule()); |

