[PATCH] Fix bug in CallInst::CreateFree(Value* Source, BasicBlock *InsertAtEnd)

Stephan Falke falke at iti.uka.de
Fri Apr 25 05:04:55 PDT 2014


I noticed a problem with CallInst::CreateFree(Value* Source, BasicBlock 
*InsertAtEnd).  The CallInst that is created is not actually inserted 
into the specified BasicBlock.  This problem seems to have been 
introduced in r84987, when CallInst::CreateFree was initially 
introduced.  The attached patch should fix this problem.


PS: I don't have commit access to the repository.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: insert-free.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140425/6d0ff321/attachment.bin>

More information about the llvm-commits mailing list