]> Cypherpunks repositories - gostls13.git/commit
runtime: mark asmcgocall<>(SB) as having no arguments
authorRuss Cox <rsc@golang.org>
Sun, 14 Sep 2014 17:57:28 +0000 (13:57 -0400)
committerRuss Cox <rsc@golang.org>
Sun, 14 Sep 2014 17:57:28 +0000 (13:57 -0400)
commit40dd6bf38e06bf26aa1c15438cdf0965cf778050
treee47286b9709f3cd0c789512ecd4683a499e73df8
parente3d2e5550e525308e9e9323fbaf05c4ea6588215
runtime: mark asmcgocall<>(SB) as having no arguments

It doesn't.
Fixes 386 build.

While we're here, mark runtime.asmcgocall as GO_ARGS,
so that it will work with stack copying. I don't think anything
that uses it can lead to a stack copy, but better safe than sorry.
Certainly the runtime.asmcgocall_errno variant needs
(and already has) GO_ARGS.

TBR=iant
CC=golang-codereviews
https://golang.org/cl/138400043
src/runtime/asm_386.s
src/runtime/asm_amd64.s
src/runtime/asm_arm.s