Add a newline to the end of this file.
[oota-llvm.git] / lib / Analysis / InstCount.cpp
index 23c891b5ed8df05e07584c05b2ee49f07734340e..82b2245a3bb4e590227263394e50375b44079575 100644 (file)
@@ -51,7 +51,7 @@ namespace {
       abort();
     }
   public:
-    static const int ID; // Pass identifcation, replacement for typeid
+    static char ID; // Pass identification, replacement for typeid
     InstCount() : FunctionPass((intptr_t)&ID) {}
 
     virtual bool runOnFunction(Function &F);
@@ -63,7 +63,7 @@ namespace {
 
   };
 
-  const int InstCount::ID = 0;
+  char InstCount::ID = 0;
   RegisterPass<InstCount> X("instcount",
                             "Counts the various types of Instructions");
 }