Skip to content

Commit

Permalink
[Kaleidoscope][BuildingAJIT] Make the optimizeModule method for Chapter2
Browse files Browse the repository at this point in the history
private.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270807 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lhames committed May 26, 2016
1 parent 2474f04 commit fd4178f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ class KaleidoscopeJIT {
OptimizeLayer.removeModuleSet(H);
}

private:

std::unique_ptr<Module> optimizeModule(std::unique_ptr<Module> M) {
// Create a function pass manager.
auto FPM = llvm::make_unique<legacy::FunctionPassManager>(M.get());
Expand Down

0 comments on commit fd4178f

Please sign in to comment.