From 3fd58f91dd318518f7daa4ba64c0aaf31799d89b Mon Sep 17 00:00:00 2001 From: rdivacky Date: Sat, 23 Jan 2010 11:09:33 +0000 Subject: Update LLVM to r94309. --- lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp') diff --git a/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp b/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp index 94b0671..5650150 100644 --- a/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp +++ b/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp @@ -130,7 +130,7 @@ bool OptimalEdgeProfiler::runOnModule(Module &M) { // actual MST is returned but the edges _not_ in the MST. ProfileInfo::EdgeWeights ECs = - getAnalysisID(ProfileEstimatorPassID, *F).getEdgeWeights(F); + getAnalysis(*F).getEdgeWeights(F); std::vector EdgeVector(ECs.begin(), ECs.end()); MaximumSpanningTree MST (EdgeVector); std::stable_sort(MST.begin(),MST.end()); -- cgit v1.1