Skip to content

Commit

Permalink
Fix inconsistent whitespace in assembly files
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 bb803d8 commit 044733c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/net/lookup_darwin_386.s
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ TEXT runtime·res_search_trampoline(SB),NOSPLIT,$0
MOVL AX, 12(SP)
MOVL 4(CX), AX // arg 2 class
MOVL AX, 4(SP)
MOVL 8(CX), AX // arg 3 type
MOVL AX, 8(SP)
MOVL 8(CX), AX // arg 3 type
MOVL AX, 8(SP)
MOVL 0(CX), AX // arg 1 name
MOVL AX, 0(SP)
CALL libc_res_search(SB)
Expand Down
20 changes: 10 additions & 10 deletions src/net/lookup_darwin_amd64.s
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
#include "textflag.h"

TEXT runtime·res_search_trampoline(SB),NOSPLIT,$0
PUSHQ BP
MOVQ SP, BP
MOVL (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
MOVQ 0(DI), DI // arg 1 name
CALL libc_res_search(SB)
POPQ BP
RET
PUSHQ BP
MOVQ SP, BP
MOVL (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
MOVQ 0(DI), DI // arg 1 name
CALL libc_res_search(SB)
POPQ BP
RET

0 comments on commit 044733c

Please sign in to comment.