[llvm-commits] [llvm] r54581 - /llvm/trunk/include/llvm/Support/IRBuilder.h
Chris Lattner
clattner at apple.com
Sat Aug 9 10:04:29 PDT 2008
On Aug 9, 2008, at 8:15 AM, Duncan Sands wrote:
> Author: baldrick
> Date: Sat Aug 9 10:14:59 2008
> New Revision: 54581
>
> URL: http://llvm.org/viewvc/llvm-project?rev=54581&view=rev
> Log:
> Unbreak the llvm-gcc build: recent changes to
> IRBuilder are not expecting null names.
Doh, sorry :(.
-Chris
>
>
> Modified:
> llvm/trunk/include/llvm/Support/IRBuilder.h
>
> Modified: llvm/trunk/include/llvm/Support/IRBuilder.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/IRBuilder.h?rev=54581&r1=54580&r2=54581&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/include/llvm/Support/IRBuilder.h (original)
> +++ llvm/trunk/include/llvm/Support/IRBuilder.h Sat Aug 9 10:14:59
> 2008
> @@ -282,10 +282,10 @@
> FreeInst *CreateFree(Value *Ptr) {
> return Insert(new FreeInst(Ptr));
> }
> - LoadInst *CreateLoad(Value *Ptr, const char *Name = 0) {
> + LoadInst *CreateLoad(Value *Ptr, const char *Name = "") {
> return Insert(new LoadInst(Ptr), Name);
> }
> - LoadInst *CreateLoad(Value *Ptr, bool isVolatile, const char
> *Name = 0) {
> + LoadInst *CreateLoad(Value *Ptr, bool isVolatile, const char
> *Name = "") {
> return Insert(new LoadInst(Ptr, 0, isVolatile), Name);
> }
> StoreInst *CreateStore(Value *Val, Value *Ptr, bool isVolatile =
> false) {
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list