From deb27681d723aee33be3489990648abcab440240 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Thu, 26 May 2016 00:24:18 +0000 Subject: [Kaleidoscope][BuildingAJIT] Make the optimizeModule method for Chapter2 private. llvm-svn: 270807 --- llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm') diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h index 39c6e13c9c9..6ea559bec0a 100644 --- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h +++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h @@ -104,6 +104,8 @@ public: OptimizeLayer.removeModuleSet(H); } +private: + std::unique_ptr optimizeModule(std::unique_ptr M) { // Create a function pass manager. auto FPM = llvm::make_unique(M.get()); -- cgit v1.2.3