diff options
| author | Austin Clements <austin@google.com> | 2017-02-09 14:03:49 -0500 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2017-02-14 15:52:54 +0000 |
| commit | d089a6c7187f1ff85277515405ec6c641588a7ff (patch) | |
| tree | 2eb4d16038ec3ade478a83249cc879898efd5b8b /src/runtime/panic.go | |
| parent | c5ebcd2c8ac6c5bdf85ec0a346974efd4b0cbe49 (diff) | |
| download | go-d089a6c7187f1ff85277515405ec6c641588a7ff.tar.xz | |
runtime: remove stack barriers
Now that we don't rescan stacks, stack barriers are unnecessary. This
removes all of the code and structures supporting them as well as
tests that were specifically for stack barriers.
Updates #17503.
Change-Id: Ia29221730e0f2bbe7beab4fa757f31a032d9690c
Reviewed-on: https://go-review.googlesource.com/36620
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/panic.go')
| -rw-r--r-- | src/runtime/panic.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/panic.go b/src/runtime/panic.go index 876bca7fd4..f099f2292c 100644 --- a/src/runtime/panic.go +++ b/src/runtime/panic.go @@ -617,7 +617,6 @@ func recovery(gp *g) { // Make the deferproc for this d return again, // this time returning 1. The calling function will // jump to the standard return epilogue. - gcUnwindBarriers(gp, sp) gp.sched.sp = sp gp.sched.pc = pc gp.sched.lr = 0 |
