From 3bc0601742a68d5f73312fe13fe521f8b7fd7e1e Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Tue, 20 Oct 2015 13:15:12 +1100 Subject: [PATCH] runtime: rename _func.frame to make it clear it's deprecated and unused. When I saw that it was labelled "legacy", I went looking for users of it to see how it was still used. But there aren't any. Save the next person the trouble. Change-Id: I921dd6c57b60331c9816542272555153ac133c02 Reviewed-on: https://go-review.googlesource.com/16035 Reviewed-by: Dave Cheney Run-TryBot: Dave Cheney TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- src/runtime/runtime2.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 5d0aad0f69..d95a183f99 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -513,8 +513,8 @@ type _func struct { entry uintptr // start pc nameoff int32 // function name - args int32 // in/out args size - frame int32 // legacy frame size; use pcsp if possible + args int32 // in/out args size + _ int32 // Previously: legacy frame size. TODO: Remove this. pcsp int32 pcfile int32