Remove FreeInst.
[oota-llvm.git] / include / llvm / Support / IRBuilder.h
index 83df9edc0c4c239c0b5b0d366a02ab747c58b6f3..84bfd09b00144bb06104cfa7316f5070d639609a 100644 (file)
@@ -433,9 +433,6 @@ public:
                            const Twine &Name = "") {
     return Insert(new AllocaInst(Ty, ArraySize), Name);
   }
-  FreeInst *CreateFree(Value *Ptr) {
-    return Insert(new FreeInst(Ptr));
-  }
   // Provided to resolve 'CreateLoad(Ptr, "...")' correctly, instead of
   // converting the string to 'bool' for the isVolatile parameter.
   LoadInst *CreateLoad(Value *Ptr, const char *Name) {