Meng Zhuo | 8fefeab | 2021-11-03 15:04:13 +0800 | [diff] [blame] | 1 | // Copyright 2022 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package runtime |
| 6 | |
| 7 | // Called from assembly only; declared for go vet. |
| 8 | func load_g() |
| 9 | func save_g() |
| 10 | |
| 11 | // Used by reflectcall and the reflect package. |
| 12 | // |
| 13 | // Spills/loads arguments in registers to/from an internal/abi.RegArgs |
| 14 | // respectively. Does not follow the Go ABI. |
| 15 | func spillArgs() |
| 16 | func unspillArgs() |