Source File
sys_x86.go
Belonging Package
runtime
// Copyright 2013 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.// +build amd64 386package runtimeimport ()// adjust Gobuf as if it executed a call to fn with context ctxt// and then did an immediate gosave.func ( *gobuf, , unsafe.Pointer) {:= .spif sys.RegSize > sys.PtrSize {-= sys.PtrSize*(*uintptr)(unsafe.Pointer()) = 0}-= sys.PtrSize*(*uintptr)(unsafe.Pointer()) = .pc.sp =.pc = uintptr().ctxt =}