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 86893a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/lookup_darwin_amd64.s
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
TEXT runtime·res_search_trampoline(SB),NOSPLIT,$0
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 86893a3

Please sign in to comment.