llvm.org GIT mirror llvm / fd4178f
[Kaleidoscope][BuildingAJIT] Make the optimizeModule method for Chapter2 private. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270807 91177308-0d34-0410-b5e6-96231b3b80d8 Lang Hames 3 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
103103 OptimizeLayer.removeModuleSet(H);
104104 }
105105
106 private:
107
106108 std::unique_ptr optimizeModule(std::unique_ptr M) {
107109 // Create a function pass manager.
108110 auto FPM = llvm::make_unique(M.get());