mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 12:59:04 +00:00
llvm: never_tail implies never_inline, so set noinline in this case too.
This commit is contained in:
parent
7415739e36
commit
166766d63d
@ -5191,8 +5191,8 @@ pub const FuncGen = struct {
|
||||
}
|
||||
|
||||
switch (modifier) {
|
||||
.auto, .never_tail, .always_tail => {},
|
||||
.never_inline => try attributes.addFnAttr(.@"noinline", &o.builder),
|
||||
.auto, .always_tail => {},
|
||||
.never_tail, .never_inline => try attributes.addFnAttr(.@"noinline", &o.builder),
|
||||
.async_kw, .no_async, .always_inline, .compile_time => unreachable,
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user