aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/stack.go')
-rw-r--r--src/runtime/stack.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/runtime/stack.go b/src/runtime/stack.go
index b5dda0d9e6..5a6259c6e2 100644
--- a/src/runtime/stack.go
+++ b/src/runtime/stack.go
@@ -1184,7 +1184,5 @@ func freeStackSpans() {
//go:nosplit
func morestackc() {
- systemstack(func() {
- throw("attempt to execute system stack code on user stack")
- })
+ throw("attempt to execute system stack code on user stack")
}