mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-23 22:25:00 -07:00
Add @(no_red_zone) for procedures
This commit is contained in:
@@ -135,6 +135,10 @@ lbProcedure *lb_create_procedure(lbModule *m, Entity *entity, bool ignore_body)
|
||||
lb_add_attribute_to_proc(m, p->value, "naked");
|
||||
}
|
||||
|
||||
if (entity->Procedure.no_red_zone) {
|
||||
lb_add_attribute_to_proc(m, p->value, "noredzone");
|
||||
}
|
||||
|
||||
switch (p->inlining) {
|
||||
case ProcInlining_inline:
|
||||
lb_add_attribute_to_proc(m, p->value, "alwaysinline");
|
||||
|
||||
Reference in New Issue
Block a user