From 7843ca83e7c8229f4fdca22949428a2418f45138 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Mon, 17 Apr 2023 16:50:00 -0400 Subject: internal/abi, runtime, cmd: merge PCDATA_* and FUNCDATA_* consts into internal/abi We also rename the constants related to unsafe-points: currently, they follow the same naming scheme as the PCDATA table indexes, but are not PCDATA table indexes. For #59670. Change-Id: I06529fecfae535be5fe7d9ac56c886b9106c74fd Reviewed-on: https://go-review.googlesource.com/c/go/+/485497 Run-TryBot: Austin Clements Reviewed-by: David Chase TryBot-Result: Gopher Robot Auto-Submit: Austin Clements Reviewed-by: Cherry Mui --- src/runtime/panic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/panic.go') diff --git a/src/runtime/panic.go b/src/runtime/panic.go index a68f34f767..cefab56902 100644 --- a/src/runtime/panic.go +++ b/src/runtime/panic.go @@ -654,7 +654,7 @@ func addOneOpenDeferFrame(gp *g, pc uintptr, sp unsafe.Pointer) { continue } f := frame.fn - fd := funcdata(f, _FUNCDATA_OpenCodedDeferInfo) + fd := funcdata(f, abi.FUNCDATA_OpenCodedDeferInfo) if fd == nil { continue } -- cgit v1.3-5-g9baa