mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Rather than passing "false" for InsertBefore, AddressSpace for ThreadLocal,
and nothing for AddressSpace, pass 0 for InsertBefore, "false" for ThreadLocal and AddressSpace for AddressSpace. Spotted by gcc-4.5. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97563 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
82dd3d38d9
commit
6d52102b92
@ -1157,8 +1157,8 @@ LLVMValueRef LLVMAddGlobalInAddressSpace(LLVMModuleRef M, LLVMTypeRef Ty,
|
||||
const char *Name,
|
||||
unsigned AddressSpace) {
|
||||
return wrap(new GlobalVariable(*unwrap(M), unwrap(Ty), false,
|
||||
GlobalValue::ExternalLinkage, 0, Name, false,
|
||||
AddressSpace));
|
||||
GlobalValue::ExternalLinkage, 0, Name, 0,
|
||||
false, AddressSpace));
|
||||
}
|
||||
|
||||
LLVMValueRef LLVMGetNamedGlobal(LLVMModuleRef M, const char *Name) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user