Revert the part of 75177 that split ConstantRange into two classes, and
[oota-llvm.git] / include / llvm / MDNode.h
index 06b71776e0ab895744c31596b4cdbfed89ae2702..d632e4ea4a6fb9037418c9961879e1dfcba7d64d 100644 (file)
@@ -78,7 +78,7 @@ public:
 
   /// get() - Static factory methods - Return objects of the specified value.
   ///
-  static MDNode *get(Value*const* Vals, unsigned NumVals, bool locked = true);
+  static MDNode *get(Value*const* Vals, unsigned NumVals);
 
   Value *getElement(unsigned i) const {
     return Node[i];
@@ -117,7 +117,7 @@ public:
   /// duplicates
   void Profile(FoldingSetNodeID &ID) const;
 
-  virtual void destroyConstant(bool locked = true);
+  virtual void destroyConstant();
   virtual void replaceUsesOfWithOnConstant(Value *From, Value *To, Use *U) {
     assert(0 && "This should never be called because MDNodes have no ops");
     abort();