mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +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
|
@ -5207,14 +5207,14 @@ fn build_proc_header<'a, 'ctx>(
|
|||
if false {
|
||||
let kind_id = Attribute::get_named_enum_kind_id("alwaysinline");
|
||||
debug_assert!(kind_id > 0);
|
||||
let enum_attr = env.context.create_enum_attribute(kind_id, 1);
|
||||
let enum_attr = env.context.create_enum_attribute(kind_id, 0);
|
||||
fn_val.add_attribute(AttributeLoc::Function, enum_attr);
|
||||
}
|
||||
|
||||
if false {
|
||||
let kind_id = Attribute::get_named_enum_kind_id("noinline");
|
||||
debug_assert!(kind_id > 0);
|
||||
let enum_attr = env.context.create_enum_attribute(kind_id, 1);
|
||||
let enum_attr = env.context.create_enum_attribute(kind_id, 0);
|
||||
fn_val.add_attribute(AttributeLoc::Function, enum_attr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue