]> Cypherpunks repositories - gostls13.git/commit
runtime: fix assembler macro definitions to be consistent in use of center-dot
authorRob Pike <r@golang.org>
Wed, 30 Jul 2014 17:11:44 +0000 (10:11 -0700)
committerRob Pike <r@golang.org>
Wed, 30 Jul 2014 17:11:44 +0000 (10:11 -0700)
commitaff7883d9a7af1dc89a2c51e06ddfcd3d9f80090
tree0388f3029b0ac1494537181a164ef8aaae5b4850
parentd703ac338e86cefc1219e47a4055e66fb392cc21
runtime: fix assembler macro definitions to be consistent in use of center-dot
The DISPATCH and CALLFN macro definitions depend on an inconsistency
between the internal cpp mini-implementation and the language proper in
whether center-dot is an identifier character. The macro depends on it not
being an identifier character, but the resulting code depends on it being one.

Remove the dependence on the inconsistency by placing the center-dot into
the macro invocation rather that the body.

No semantic change. This is just renaming macro arguments.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/119320043
src/pkg/runtime/asm_386.s
src/pkg/runtime/asm_amd64.s
src/pkg/runtime/asm_amd64p32.s
src/pkg/runtime/asm_arm.s