go go 源码

2022-07-15 浏览 (851)

golang go 代码

文件路径:/src/cmd/internal/obj/go.go

// Copyright 2009 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 obj

// go-specific code shared across loaders (5l, 6l, 8l).

func Nopout(p *Prog) {
	p.As = ANOP
	p.Scond = 0
	p.From = Addr{}
	p.RestArgs = nil
	p.Reg = 0
	p.To = Addr{}
}

相关信息

go 源码目录

相关文章

go abi_string 源码

go addrtype_string 源码

go data 源码

go dwarf 源码

go inl 源码

go ld 源码

go line 源码

go line_test 源码

go link 源码

go objfile 源码

  • 所属分类: 后端技术
  • 本文标签: golang
  • 版权声明: 本文链接 https://seaxiang.com/blog/ebcc79e11452476fb75dfa28874f4865