mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-23 19:59:57 +00:00
[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
This commit is contained in:
parent
2474f04f67
commit
fd4178f436
@ -104,6 +104,8 @@ public:
|
||||
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());
|
||||
|
Loading…
Reference in New Issue
Block a user