diff options
| author | Russ Cox <rsc@golang.org> | 2013-02-22 10:47:54 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2013-02-22 10:47:54 -0500 |
| commit | 6066fdcf38bbf92bd551f74a6db4cb72306ed493 (patch) | |
| tree | bc1e9b8ff9da6106240a4e9c1a8f8d73ff235a21 /src/pkg/runtime/runtime.h | |
| parent | d9001ef012aabcd28c66a2d1f321078f45a2ffac (diff) | |
| download | go-6066fdcf38bbf92bd551f74a6db4cb72306ed493.tar.xz | |
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
Diffstat (limited to 'src/pkg/runtime/runtime.h')
| -rw-r--r-- | src/pkg/runtime/runtime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index e98f13b889..24591995c8 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -615,7 +615,7 @@ int32 runtime·charntorune(int32*, uint8*, int32); #define FLUSH(x) USED(x) void runtime·gogo(Gobuf*, uintptr); -void runtime·gogocall(Gobuf*, void(*)(void)); +void runtime·gogocall(Gobuf*, void(*)(void), uintptr); void runtime·gogocallfn(Gobuf*, FuncVal*); void runtime·gosave(Gobuf*); void runtime·lessstack(void); |
