Skip to content
Snippets Groups Projects
Commit 8fa54354 authored by Russel Arbore's avatar Russel Arbore
Browse files

fix

parent be55373c
No related branches found
No related tags found
1 merge request!218Add more LLVM attributes
Pipeline #202067 failed
...@@ -68,7 +68,7 @@ impl<'a> CPUContext<'a> { ...@@ -68,7 +68,7 @@ impl<'a> CPUContext<'a> {
if self.types[return_type.idx()].is_primitive() { if self.types[return_type.idx()].is_primitive() {
write!( write!(
w, w,
"define dso_local {} @{}_{}(", "define dso_local nounwind nosync willreturn norecurse {} @{}_{}(",
self.get_type(return_type), self.get_type(return_type),
self.module_name, self.module_name,
self.function.name, self.function.name,
...@@ -96,7 +96,7 @@ impl<'a> CPUContext<'a> { ...@@ -96,7 +96,7 @@ impl<'a> CPUContext<'a> {
)?; )?;
write!( write!(
w, w,
"define dso_local void @{}_{}(", "define dso_local nounwind nosync willreturn norecurse void @{}_{}(",
self.module_name, self.function.name, self.module_name, self.function.name,
)?; )?;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment