[llvm-commits] [llvm] r54581 - /llvm/trunk/include/llvm/Support/IRBuilder.h
Duncan Sands
baldrick at free.fr
Sat Aug 9 08:15:03 PDT 2008
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.
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) {
More information about the llvm-commits
mailing list