]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] cmd/internal/asm: fix build: was mishandling SP reference on amd64
authorRob Pike <r@golang.org>
Tue, 17 Feb 2015 04:14:37 +0000 (20:14 -0800)
committerRob Pike <r@golang.org>
Tue, 17 Feb 2015 04:20:19 +0000 (04:20 +0000)
commit188296e5bf8b74557f8cd27a3da692a75c9a973f
treeb70df53c661abc5709665180627c883a0efea559
parentbf2d611a85c9f5084b28390bb6b78c9e49ea53a0
[dev.cc] cmd/internal/asm: fix build: was mishandling SP reference on amd64

A consequence of the ARM work overlooked that SP is a real register
on x86, so we need to detect it specially.

This will be done better soon, but this is a fast fix for the build.

Change-Id: Ia30d111c3f42a5f0b5f4eddd4cc4d8b10470c14f
Reviewed-on: https://go-review.googlesource.com/4963
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/asm/internal/asm/parse.go