[PM] Split the CallGraph out from the ModulePass which creates the
[oota-llvm.git] / lib / Transforms / IPO / InlineAlways.cpp
index 437597ec037b69918999b564a410d91456c55356..be1fe9a117eac64b4f93e9a883b1a2830d92e62f 100644 (file)
@@ -63,7 +63,7 @@ public:
 char AlwaysInliner::ID = 0;
 INITIALIZE_PASS_BEGIN(AlwaysInliner, "always-inline",
                 "Inliner for always_inline functions", false, false)
-INITIALIZE_PASS_DEPENDENCY(CallGraph)
+INITIALIZE_PASS_DEPENDENCY(CallGraphWrapperPass)
 INITIALIZE_PASS_DEPENDENCY(InlineCostAnalysis)
 INITIALIZE_PASS_END(AlwaysInliner, "always-inline",
                 "Inliner for always_inline functions", false, false)