aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_utility.cpp
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-06-28 01:16:26 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2024-06-28 01:34:09 +0200
commitb79d7e69177ccbc25b75f1aa7a90a62f64c6cee1 (patch)
tree5b21b566621f03f1c9e795616987922fc64fd98c /src/llvm_backend_utility.cpp
parented7d34beb0d39ae8ae0fce43513fae809bca8ba4 (diff)
disallow non-global foreign import of variables on wasm
Diffstat (limited to 'src/llvm_backend_utility.cpp')
-rw-r--r--src/llvm_backend_utility.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_utility.cpp b/src/llvm_backend_utility.cpp
index 94153e233..98ed0c57e 100644
--- a/src/llvm_backend_utility.cpp
+++ b/src/llvm_backend_utility.cpp
@@ -2018,7 +2018,7 @@ gb_internal LLVMValueRef llvm_get_inline_asm(LLVMTypeRef func_type, String const
}
-gb_internal void lb_set_wasm_import_attributes(LLVMValueRef value, Entity *entity, String import_name) {
+gb_internal void lb_set_wasm_procedure_import_attributes(LLVMValueRef value, Entity *entity, String import_name) {
if (!is_arch_wasm()) {
return;
}