add Value::getNameStart/getNameLen() accessors.
[oota-llvm.git] / lib / VMCore / Pass.cpp
index b45f427cbcfdadfa12fb3bbf2bfbe6ee1d3761af..2f581c51abf0dc49bfe5132549f3e40299bff52f 100644 (file)
@@ -155,7 +155,7 @@ public:
   void RegisterPass(PassInfo &PI) {
     bool Inserted =
       PassInfoMap.insert(std::make_pair(PI.getTypeInfo(),&PI)).second;
-    //assert(Inserted && "Pass registered multiple times!");
+    assert(Inserted && "Pass registered multiple times!");
   }
   
   void UnregisterPass(PassInfo &PI) {