Skip to content

Commit

Permalink
runtime: name hi and lo parts of ret in assembly
Browse files Browse the repository at this point in the history
Makes vet happy.

LGTM=bradfitz
R=dvyukov, bradfitz
CC=golang-codereviews
https://golang.org/cl/131320043
  • Loading branch information
josharian committed Aug 26, 2014
1 parent 2511d92 commit e5a06cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pkg/runtime/asm_386.s
Original file line number Diff line number Diff line change
Expand Up @@ -877,8 +877,8 @@ TEXT runtime·cputicks(SB),NOSPLIT,$0-4

TEXT runtime·gocputicks(SB),NOSPLIT,$0-8
RDTSC
MOVL AX, ret+0(FP)
MOVL DX, ret+4(FP)
MOVL AX, ret_lo+0(FP)
MOVL DX, ret_hi+4(FP)
RET

TEXT runtime·ldt0setup(SB),NOSPLIT,$16-0
Expand Down

0 comments on commit e5a06cc

Please sign in to comment.