Don't use PassInfo* as a type identifier for passes. Instead, use the address of...
[oota-llvm.git] / lib / Transforms / Scalar / Sink.cpp
index 2448312673ba50a6e7c3c56ae923ef3aac2686b7..95d3dedfb62dbeece1b669f79499c7b9ae2befa5 100644 (file)
@@ -35,7 +35,7 @@ namespace {
 
   public:
     static char ID; // Pass identification
-    Sinking() : FunctionPass(&ID) {}
+    Sinking() : FunctionPass(ID) {}
     
     virtual bool runOnFunction(Function &F);