1
0
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:
Lang Hames 2016-05-26 00:24:18 +00:00
parent 8d7e6f6eba
commit a397eb6ebd

View File

@ -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());