land David Blaikie's patch to de-constify Type, with a few tweaks.
[oota-llvm.git] / include / llvm / Instruction.h
index 89bb9fdf423d5f3f92f62be44957c21209f8459a..2459ef60760ec07e41eb1aed7cb1e91c8ca36000 100644 (file)
@@ -365,9 +365,9 @@ protected:
     return getSubclassDataFromValue() & ~HasMetadataBit;
   }
   
-  Instruction(const Type *Ty, unsigned iType, Use *Ops, unsigned NumOps,
+  Instruction(Type *Ty, unsigned iType, Use *Ops, unsigned NumOps,
               Instruction *InsertBefore = 0);
-  Instruction(const Type *Ty, unsigned iType, Use *Ops, unsigned NumOps,
+  Instruction(Type *Ty, unsigned iType, Use *Ops, unsigned NumOps,
               BasicBlock *InsertAtEnd);
   virtual Instruction *clone_impl() const = 0;