mirror of
https://github.com/golang/go
synced 2024-11-07 15:16:15 -07:00
c7c6c113be
The assembly is mostly a straightforward conversion of the equivalent arm assembly. This CL is part of a stack adding windows/arm64 support (#36439), intended to land in the Go 1.17 cycle. Change-Id: I61b15d712ade4d3a7285c7680de8e0987aacba10 Reviewed-on: https://go-review.googlesource.com/c/go/+/288828 Trust: Russ Cox <rsc@golang.org> Trust: Jason A. Donenfeld <Jason@zx2c4.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>
17 lines
351 B
Go
17 lines
351 B
Go
// Copyright 2019 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package runtime
|
|
|
|
import "unsafe"
|
|
|
|
// Called from assembly only; declared for go vet.
|
|
func load_g()
|
|
func save_g()
|
|
|
|
//go:noescape
|
|
func asmcgocall_no_g(fn, arg unsafe.Pointer)
|
|
|
|
func emptyfunc()
|