mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
give 0
as a value to our enum attributes
This commit is contained in:
parent
a969b19a72
commit
8738c95d6f
5 changed files with 11 additions and 11 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue