detached 674eeb4

No red zone (#8)

sys_darwin_amd64.s was pushing the struct pointer to -8(SP) which is a part of the red-zone. We have enough space on the stack to push it above the arguments. Doing so is safer too.
commit
674eeb43a23f31ff02eac84823cfd76139a54b2e
author
TotallyGamerJet · · 2022-06-27 01:12 UTC
committer
GitHub · · 2022-06-27 01:12 UTC
parent
bda3acf
signature
GPG Unverified4AEE18F83AFDEB23 The key is unknown
1 file · +2 -2
M sys_darwin_amd64.s +2 -2
@@ -28,7 +28,7 @@ TEXT ·syscall9X(SB), NOSPLIT, $0
2828 PUSHQ BP
2929 MOVQ SP, BP
3030 SUBQ $32, SP
31- MOVQ DI, -8(BP) // save the pointer
31+ MOVQ DI, 24(BP) // save the pointer
3232 MOVQ (0*8)(DI), R10 // fn
3333 MOVQ (2*8)(DI), SI // a2
3434 MOVQ (3*8)(DI), DX // a3
@@ -59,7 +59,7 @@ TEXT ·syscall9X(SB), NOSPLIT, $0
5959
6060 CALL R10
6161
62- MOVQ -8(BP), DI // get the pointer back
62+ MOVQ 24(BP), DI // get the pointer back
6363 MOVQ AX, (10*8)(DI) // r1
6464 MOVQ DX, (11*8)(DI) // r2
6565
@@ -28,7 +28,7 @@ TEXT ·syscall9X(SB), NOSPLIT, $0
28 PUSHQ BP28 PUSHQ BP
29 MOVQ SP, BP29 MOVQ SP, BP
30 SUBQ $32, SP30 SUBQ $32, SP
31- MOVQ DI, -8(BP) // save the pointer31+ MOVQ DI, 24(BP) // save the pointer
32 MOVQ (0*8)(DI), R10 // fn32 MOVQ (0*8)(DI), R10 // fn
33 MOVQ (2*8)(DI), SI // a233 MOVQ (2*8)(DI), SI // a2
34 MOVQ (3*8)(DI), DX // a334 MOVQ (3*8)(DI), DX // a3
@@ -59,7 +59,7 @@ TEXT ·syscall9X(SB), NOSPLIT, $0
59 59
60 CALL R1060 CALL R10
61 61
62- MOVQ -8(BP), DI // get the pointer back62+ MOVQ 24(BP), DI // get the pointer back
63 MOVQ AX, (10*8)(DI) // r163 MOVQ AX, (10*8)(DI) // r1
64 MOVQ DX, (11*8)(DI) // r264 MOVQ DX, (11*8)(DI) // r2
65 65

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 102

↑↓ moveenter openesc close