mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-26 13:36:28 +00:00
Unbreak the llvm-gcc build: recent changes to
IRBuilder are not expecting null names. llvm-svn: 54581
This commit is contained in:
parent
15817f1acc
commit
310343bae7
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user