Compare commits
1 Commits
fca9cdd1b4
...
4a93d5d3d4
Author | SHA1 | Date | |
---|---|---|---|
4a93d5d3d4 |
@ -5704,11 +5704,10 @@ fn LLVMValueRef emit_call(Module* module, Value* value, LLVMValueRef left_llvm,
|
||||
bool is_constant = true;
|
||||
LLVMLinkage linkage_type = LLVMInternalLinkage;
|
||||
LLVMThreadLocalMode thread_local_mode = {};
|
||||
u32 address_space = 0;
|
||||
bool externally_initialized = false;
|
||||
auto alignment = get_byte_alignment(semantic_argument_type);
|
||||
|
||||
auto global = llvm_module_create_global_variable(module->llvm.module, semantic_argument_type->llvm.memory, is_constant, linkage_type, semantic_call_argument_value->llvm, string_literal("conststruct"), thread_local_mode, externally_initialized, alignment, LLVMGlobalUnnamedAddr);
|
||||
auto global = llvm_module_create_global_variable(module->llvm.module, semantic_argument_type->llvm.memory, is_constant, linkage_type, semantic_call_argument_value->llvm, string_literal("indirect.const.aggregate"), thread_local_mode, externally_initialized, alignment, LLVMGlobalUnnamedAddr);
|
||||
|
||||
llvm_abi_argument_value_buffer[abi_argument_count] = global;
|
||||
abi_argument_count += 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user