aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/vlrt.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2020-04-06 16:16:48 -0400
committerAustin Clements <austin@google.com>2020-04-08 18:37:38 +0000
commitd5e1b7ca68e2cc484d9a1517bdc0a9862936a1eb (patch)
tree4fdf0f2e0b21a99ee08bcf87ac833cd996b5162a /src/runtime/vlrt.go
parent8b4cbcc32098733832db0ba0cd8a8569315861c2 (diff)
downloadgo-d5e1b7ca68e2cc484d9a1517bdc0a9862936a1eb.tar.gz
go-d5e1b7ca68e2cc484d9a1517bdc0a9862936a1eb.zip
all: remove scattered remnants of darwin/386
This removes all conditions and conditional code (that I could find) that depended on darwin/386. Fixes #37610. Change-Id: I630d9ea13613fb7c0bcdb981e8367facff250ba0 Reviewed-on: https://go-review.googlesource.com/c/go/+/227582 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/vlrt.go')
-rw-r--r--src/runtime/vlrt.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runtime/vlrt.go b/src/runtime/vlrt.go
index e4d1be5d8a..87370f870d 100644
--- a/src/runtime/vlrt.go
+++ b/src/runtime/vlrt.go
@@ -130,9 +130,6 @@ func uint64mod(n, d uint64) uint64 {
return r
}
-//go:nosplit
-// nosplit because division is used in syscall context in nanotime on darwin/386
-// where stack splits are not allowed.
func int64div(n, d int64) int64 {
// Check for 32 bit operands
if int64(int32(n)) == n && int64(int32(d)) == d {