diff options
Diffstat (limited to 'src/runtime/runtime2.go')
| -rw-r--r-- | src/runtime/runtime2.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 95dc834717..9fec6c6a1e 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -1177,16 +1177,17 @@ type _panic struct { link *_panic // link to earlier panic // startPC and startSP track where _panic.start was called. + // (These are the SP and PC of the gopanic frame itself.) startPC uintptr startSP unsafe.Pointer // The current stack frame that we're running deferred calls for. + pc uintptr sp unsafe.Pointer - lr uintptr fp unsafe.Pointer // retpc stores the PC where the panic should jump back to, if the - // function last returned by _panic.next() recovers the panic. + // function last returned by _panic.nextDefer() recovers the panic. retpc uintptr // Extra state for handling open-coded defers. |
