diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-08-24 18:15:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-08-24 18:15:04 +0000 |
commit | 1d29bb0408506480e13afeca2ec6b8611e6a0ce7 (patch) | |
tree | 1aba1d63f8e8f960b6130e1f8a595548106b1403 /libgo/go/runtime/lock_sema.go | |
parent | 9ca2ac699ab2eee4ef6a2904426fa38f58af5a0b (diff) |
runtime: remove the dummy arg of getcallersp
This is a port of https://golang.org/cl/109596 to the gofrontend, in
preparation for updating libgo to 1.11.
Original CL description:
getcallersp is intrinsified, and so the dummy arg is no longer
needed. Remove it, as well as a few dummy args that are solely
to feed getcallersp.
Reviewed-on: https://go-review.googlesource.com/131116
From-SVN: r263840
Diffstat (limited to 'libgo/go/runtime/lock_sema.go')
-rw-r--r-- | libgo/go/runtime/lock_sema.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/runtime/lock_sema.go b/libgo/go/runtime/lock_sema.go index d000b112f44..b5cce6af583 100644 --- a/libgo/go/runtime/lock_sema.go +++ b/libgo/go/runtime/lock_sema.go @@ -289,8 +289,8 @@ func notetsleepg(n *note, ns int64) bool { throw("notetsleepg on g0") } semacreate(gp.m) - entersyscallblock(0) + entersyscallblock() ok := notetsleep_internal(n, ns, nil, 0) - exitsyscall(0) + exitsyscall() return ok } |