mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 08:26:56 +00:00
Ensure no frame is created for assembly functions
This commit is contained in:
parent
d329cb3fff
commit
32f0da2e77
1 changed files with 1 additions and 1 deletions
|
|
@ -1151,7 +1151,7 @@ func (s *Function) OutputASM(w io.Writer) {
|
|||
}
|
||||
fmt.Fprint(w, "// ")
|
||||
s.print_signature(w)
|
||||
fmt.Fprintf(w, "\nTEXT ·%s(SB), NOSPLIT, $0-%d\n", s.Name, s.Size)
|
||||
fmt.Fprintf(w, "\nTEXT ·%s(SB), NOSPLIT|TOPFRAME|NOFRAME, $0-%d\n", s.Name, s.Size)
|
||||
|
||||
has_trailing_return := false
|
||||
for _, i := range s.Instructions {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue