aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/preempt.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/preempt.go')
-rw-r--r--src/runtime/preempt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/preempt.go b/src/runtime/preempt.go
index dae417215f..815df86269 100644
--- a/src/runtime/preempt.go
+++ b/src/runtime/preempt.go
@@ -418,7 +418,7 @@ func isAsyncSafePoint(gp *g, pc, sp, lr uintptr) (bool, uintptr) {
inltree := (*[1 << 20]inlinedCall)(inldata)
ix := pcdatavalue(f, _PCDATA_InlTreeIndex, pc, nil)
if ix >= 0 {
- name = funcnameFromNameoff(f, inltree[ix].func_)
+ name = funcnameFromNameoff(f, inltree[ix].nameOff)
}
}
if hasPrefix(name, "runtime.") ||