aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-08-09 15:14:59 +0000
committerDuncan Sands <baldrick@free.fr>2008-08-09 15:14:59 +0000
commit1d85163ec22e4413abc79ddd5d57e184095eaca0 (patch)
tree4995e813d9937b96a6568a005f19974d4dab5385
parent1c5afa3767c7cc48fed4e7c58fb622f6a5b94fcb (diff)
Unbreak the llvm-gcc build: recent changes to
IRBuilder are not expecting null names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54581 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Support/IRBuilder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/IRBuilder.h b/include/llvm/Support/IRBuilder.h
index 96b1850564..f0a138c2f5 100644
--- a/include/llvm/Support/IRBuilder.h
+++ b/include/llvm/Support/IRBuilder.h
@@ -282,10 +282,10 @@ public:
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) {