give 0 as a value to our enum attributes

This commit is contained in:
Folkert 2023-06-26 23:51:26 +02:00
parent a969b19a72
commit 8738c95d6f
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
5 changed files with 11 additions and 11 deletions

View file

@ -166,7 +166,7 @@ fn gen_from_mono_module_llvm<'a>(
let kind_id = Attribute::get_named_enum_kind_id("alwaysinline");
debug_assert!(kind_id > 0);
let enum_attr = context.create_enum_attribute(kind_id, 1);
let enum_attr = context.create_enum_attribute(kind_id, 0);
for function in module.get_functions() {
let name = function.get_name().to_str().unwrap();