diff options
| author | Josh Bleecher Snyder <josharian@gmail.com> | 2014-08-26 12:38:18 -0700 |
|---|---|---|
| committer | Josh Bleecher Snyder <josharian@gmail.com> | 2014-08-26 12:38:18 -0700 |
| commit | e5a06ccd3789aba38d5255be32cec1ff740f306b (patch) | |
| tree | 0e5ea0d6f25d7ba208619d4499fff7dc1adccb51 /src/pkg/runtime | |
| parent | 2511d92ffe52c55ad5d22e585d55aed47c2e24fb (diff) | |
| download | go-e5a06ccd3789aba38d5255be32cec1ff740f306b.tar.xz | |
runtime: name hi and lo parts of ret in assembly
Makes vet happy.
LGTM=bradfitz
R=dvyukov, bradfitz
CC=golang-codereviews
https://golang.org/cl/131320043
Diffstat (limited to 'src/pkg/runtime')
| -rw-r--r-- | src/pkg/runtime/asm_386.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/asm_386.s b/src/pkg/runtime/asm_386.s index 198a468efe..2163c913d9 100644 --- a/src/pkg/runtime/asm_386.s +++ b/src/pkg/runtime/asm_386.s @@ -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 |
