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