From e5a06ccd3789aba38d5255be32cec1ff740f306b Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Tue, 26 Aug 2014 12:38:18 -0700 Subject: [PATCH] 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 --- src/pkg/runtime/asm_386.s | 4 ++-- 1 file 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