land David Blaikie's patch to de-constify Type, with a few tweaks.
[oota-llvm.git] / include / llvm / User.h
index 3f9c28e7b381c165a510158abc8c7fb621e534ea..62bc9f034618492629fe718763e0992aad9cac8f 100644 (file)
@@ -47,7 +47,7 @@ protected:
   unsigned NumOperands;
 
   void *operator new(size_t s, unsigned Us);
-  User(const Type *ty, unsigned vty, Use *OpList, unsigned NumOps)
+  User(Type *ty, unsigned vty, Use *OpList, unsigned NumOps)
     : Value(ty, vty), OperandList(OpList), NumOperands(NumOps) {}
   Use *allocHungoffUses(unsigned) const;
   void dropHungoffUses() {