mirror of
https://github.com/golang/go
synced 2024-11-19 05:34:40 -07:00
runtime: please vet
The current code is correct, but vet does not understand it: asm_amd64.s:963: [amd64] invalid MOVL of ret+0(FP); int64 is 8-byte value asm_amd64.s:964: [amd64] invalid offset ret+4(FP); expected ret+0(FP) LGTM=minux R=golang-codereviews, minux CC=golang-codereviews https://golang.org/cl/125200044
This commit is contained in:
parent
9368d6ccbf
commit
f4485784f0
@ -955,8 +955,9 @@ TEXT runtime·cputicks(SB),NOSPLIT,$0-0
|
|||||||
|
|
||||||
TEXT runtime·gocputicks(SB),NOSPLIT,$0-8
|
TEXT runtime·gocputicks(SB),NOSPLIT,$0-8
|
||||||
RDTSC
|
RDTSC
|
||||||
MOVL AX, ret+0(FP)
|
SHLQ $32, DX
|
||||||
MOVL DX, ret+4(FP)
|
ADDQ DX, AX
|
||||||
|
MOVQ AX, ret+0(FP)
|
||||||
RET
|
RET
|
||||||
|
|
||||||
TEXT runtime·stackguard(SB),NOSPLIT,$0-16
|
TEXT runtime·stackguard(SB),NOSPLIT,$0-16
|
||||||
|
Loading…
Reference in New Issue
Block a user