mirror of
https://github.com/golang/go
synced 2024-11-24 22:57:57 -07:00
cmd/internal/obj/loong64: remove unuseless functions
Change-Id: Ieee97a9477090d4273e54a6667b0a051bb0c1e9d Reviewed-on: https://go-review.googlesource.com/c/go/+/565619 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Qiqi Huang <huangqiqi@loongson.cn> Reviewed-by: sophie zhao <zhaoxiaolin@loongson.cn> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: abner chenc <chenguoqi@loongson.cn>
This commit is contained in:
parent
ff0c2d9634
commit
5881c41e7f
@ -1247,14 +1247,6 @@ func buildop(ctxt *obj.Link) {
|
||||
}
|
||||
}
|
||||
|
||||
func OP(x uint32, y uint32) uint32 {
|
||||
return x<<3 | y<<0
|
||||
}
|
||||
|
||||
func SP(x uint32, y uint32) uint32 {
|
||||
return x<<29 | y<<26
|
||||
}
|
||||
|
||||
func OP_TEN(x uint32, y uint32) uint32 {
|
||||
return x<<21 | y<<10
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user