From bda59bd247b1153e4bc19f85dee4cb594b9c2b32 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Fri, 6 Aug 2010 00:23:35 +0000 Subject: Revert r110396 to fix buildbots. llvm-svn: 110410 --- llvm/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp') diff --git a/llvm/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp b/llvm/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp index 8eec9872812..a6de60d2935 100644 --- a/llvm/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp +++ b/llvm/lib/Transforms/Instrumentation/OptimalEdgeProfiling.cpp @@ -36,7 +36,7 @@ namespace { bool runOnModule(Module &M); public: static char ID; // Pass identification, replacement for typeid - OptimalEdgeProfiler() : ModulePass(ID) {} + OptimalEdgeProfiler() : ModulePass(&ID) {} void getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequiredID(ProfileEstimatorPassID); -- cgit v1.2.3