]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.typeparams] runtime,runtime/internal/sys: remove unused BigEndian
authorMichael Anthony Knyszek <mknyszek@google.com>
Thu, 17 Jun 2021 19:13:55 +0000 (19:13 +0000)
committerMichael Knyszek <mknyszek@google.com>
Thu, 17 Jun 2021 20:42:41 +0000 (20:42 +0000)
Change-Id: I1209904326b1563e12d9c7d19a12a10c72d1dbcb
Reviewed-on: https://go-review.googlesource.com/c/go/+/329191
Trust: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>

src/runtime/export_test.go
src/runtime/internal/sys/consts.go

index de3d5b709d085c7e4e2aacab4c71c7a37d71f398..f3118472fdb45d20bc0eab6b4e607b7004d6e6fb 100644 (file)
@@ -215,8 +215,6 @@ var Write = write
 func Envs() []string     { return envs }
 func SetEnvs(e []string) { envs = e }
 
-var BigEndian = goarch.BigEndian
-
 // For benchmarking.
 
 func BenchSetType(n int, x interface{}) {
index 4d45f9d0d031514fe49827b1d97a58f3bcdb1e42..dcba7a6e0d13d8ec829baea65923d2e52130294f 100644 (file)
@@ -30,9 +30,6 @@ const ArchFamily ArchFamilyType = goarch.ArchFamily
 // AIX requires a larger stack for syscalls.
 const StackGuardMultiplier = StackGuardMultiplierDefault*(1-goos.GoosAix) + 2*goos.GoosAix
 
-// BigEndian reports whether the architecture is big-endian.
-const BigEndian = goarch.BigEndian
-
 // DefaultPhysPageSize is the default physical page size.
 const DefaultPhysPageSize = goarch.DefaultPhysPageSize