Skip to content

Commit

Permalink
Add back wrongly removed arg offset
Browse files Browse the repository at this point in the history
Signed-off-by: grant <[email protected]>
  • Loading branch information
grantseltzer committed Mar 8, 2019
1 parent 044733c commit 75578bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/net/lookup_darwin_amd64.s
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
#include "textflag.h"

TEXT runtime·res_search_trampoline(SB),NOSPLIT,$0
PUSHQ BP
PUSHQ BP
MOVQ SP, BP
MOVL (DI), R8 // arg 5 anslen
MOVL 24(DI), R8 // arg 5 anslen
MOVQ 16(DI), CX // arg 4 answer
MOVL 8(DI), SI // arg 2 class
MOVQ 12(DI), DX // arg 3 type
Expand Down

0 comments on commit 75578bc

Please sign in to comment.