github.com/mtsmfm/go/src@v0.0.0-20221020090648-44bdcb9f8fde/runtime/stubs_riscv64.go (about) 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()