aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/asm_amd64.s
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2015-02-19 13:44:06 -0800
committerRob Pike <r@golang.org>2015-02-20 00:20:54 +0000
commitc21f1d5ef30ff52cb42fca146a9c7161dfee5c3c (patch)
tree1cac4b5b7baf977fac08a8c2fb83920dd0dd4f89 /src/runtime/asm_amd64.s
parentdc7b54bed280f9258c553772fbd62e5b075ccff7 (diff)
downloadgo-c21f1d5ef30ff52cb42fca146a9c7161dfee5c3c.tar.xz
[dev.cc] runtime,syscall: quiet some more vet errors
Fix many incorrect FP references and a few other details. Some errors remain, especially in vlop, but fixing them requires semantics. For another day. Change-Id: Ib769fb519b465e79fc08d004a51acc5644e8b259 Reviewed-on: https://go-review.googlesource.com/5288 Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/runtime/asm_amd64.s')
-rw-r--r--src/runtime/asm_amd64.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/asm_amd64.s b/src/runtime/asm_amd64.s
index f6c1c5f6e6..1ac4b78a4d 100644
--- a/src/runtime/asm_amd64.s
+++ b/src/runtime/asm_amd64.s
@@ -756,7 +756,7 @@ havem:
MOVQ BX, -8(DI)
// Compute the size of the frame, including return PC and, if
// GOEXPERIMENT=framepointer, the saved based pointer
- LEAQ x+0(FP), AX
+ LEAQ fv+0(FP), AX
SUBQ SP, AX
SUBQ AX, DI
MOVQ DI, SP
@@ -768,7 +768,7 @@ havem:
// Compute the size of the frame again. FP and SP have
// completely different values here than they did above,
// but only their difference matters.
- LEAQ x+0(FP), AX
+ LEAQ fv+0(FP), AX
SUBQ SP, AX
// Restore g->sched (== m->curg->sched) from saved values.