]> Cypherpunks repositories - gostls13.git/commit
cmd/6g, cmd/8g: switch to DX for indirect call block
authorRuss Cox <rsc@golang.org>
Fri, 22 Feb 2013 15:47:54 +0000 (10:47 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 22 Feb 2013 15:47:54 +0000 (10:47 -0500)
commit6066fdcf38bbf92bd551f74a6db4cb72306ed493
treebc1e9b8ff9da6106240a4e9c1a8f8d73ff235a21
parentd9001ef012aabcd28c66a2d1f321078f45a2ffac
cmd/6g, cmd/8g: switch to DX for indirect call block
runtime: add context argument to gogocall

Too many other things use AX, and at least one
(stack zeroing) cannot be moved onto a different
register. Use the less special DX instead.

Preparation for step 2 of http://golang.org/s/go11func.
Nothing interesting here, just split out so that we can
see it's correct before moving on.

R=ken2
CC=golang-dev
https://golang.org/cl/7395050
src/cmd/6g/ggen.c
src/cmd/8g/ggen.c
src/cmd/8l/pass.c
src/pkg/runtime/asm_386.s
src/pkg/runtime/asm_amd64.s
src/pkg/runtime/asm_arm.s
src/pkg/runtime/runtime.h
src/pkg/runtime/stack.c