mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 16:37:42 +00:00
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
This commit is contained in:
parent
1c5afa3767
commit
1d85163ec2
@ -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…
x
Reference in New Issue
Block a user