]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: name hi and lo parts of ret in assembly
authorJosh Bleecher Snyder <josharian@gmail.com>
Tue, 26 Aug 2014 19:38:18 +0000 (12:38 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 26 Aug 2014 19:38:18 +0000 (12:38 -0700)
Makes vet happy.

LGTM=bradfitz
R=dvyukov, bradfitz
CC=golang-codereviews
https://golang.org/cl/131320043

src/pkg/runtime/asm_386.s

index 198a468efea2a7c701f9080841e437007534d037..2163c913d90d70a9e1a5da96aef097ac7388867f 100644 (file)
@@ -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