mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[Kaleidoscope][BuildingAJIT] Make the optimizeModule method for Chapter2
private. llvm-svn: 270807
This commit is contained in:
parent
8d7e6f6eba
commit
a397eb6ebd
@ -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…
x
Reference in New Issue
Block a user