diff options
-rw-r--r-- | include/llvm/Support/IRBuilder.h | 4 |
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) { |