mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-22 22:35:19 +00:00
Add #must_tail and "preserve/none" calling convention
This commit is contained in:
@@ -179,12 +179,6 @@ gb_internal lbProcedure *lb_create_procedure(lbModule *m, Entity *entity, bool i
|
||||
}
|
||||
}
|
||||
|
||||
switch (p->tailing) {
|
||||
case ProcTailing_must_tail:
|
||||
lb_add_attribute_to_proc(m, p->value, "preserve_none");
|
||||
break;
|
||||
}
|
||||
|
||||
switch (entity->Procedure.optimization_mode) {
|
||||
case ProcedureOptimizationMode_None:
|
||||
lb_add_attribute_to_proc(m, p->value, "optnone");
|
||||
|
||||
Reference in New Issue
Block a user