diff options
-rw-r--r-- | Driver/Backend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/Backend.cpp b/Driver/Backend.cpp index 823f666abc..fe26f1170c 100644 --- a/Driver/Backend.cpp +++ b/Driver/Backend.cpp @@ -304,7 +304,7 @@ void BackendConsumer::CreatePasses() { if (CompileOpts.OptimizationLevel > 1 && CompileOpts.UnitAtATime) PM->add(createConstantMergePass()); // Merge dup global constants } else { - PerModulePasses->add(createAlwaysInlinerPass()); + PM->add(createAlwaysInlinerPass()); } } |