Reapply r110396, with fixes to appease the Linux buildbot gods.
[oota-llvm.git] / lib / Transforms / Instrumentation / EdgeProfiling.cpp
index e5cd1f0ef423b20e140a2705996404901cf08d1d..a77d70cd1c1bc45ea0d86c68c937bb560ca902c4 100644 (file)
@@ -34,7 +34,7 @@ namespace {
     bool runOnModule(Module &M);
   public:
     static char ID; // Pass identification, replacement for typeid
-    EdgeProfiler() : ModulePass(&ID) {}
+    EdgeProfiler() : ModulePass(ID) {}
 
     virtual const char *getPassName() const {
       return "Edge Profiler";