aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorqmuntal <quimmuntal@gmail.com>2023-02-08 16:51:34 +0100
committerQuim Muntal <quimmuntal@gmail.com>2023-03-01 17:28:41 +0000
commitd20e688fcff2e5cc0d5fcc85dc5cc69ce92f919b (patch)
treee8e43c85036fa89faf9be7d515c711a40f2fb104 /src/runtime
parenta5f3cb6f75f31ea7336ce87375cbc30c73360def (diff)
downloadgo-d20e688fcff2e5cc0d5fcc85dc5cc69ce92f919b.tar.xz
runtime: remove implicit NOFRAME heuristic support
All amd64 OSes already make use of the NOFRAME flag wherever is required, so we can remove the frameless nosplit functions heuristic code path. Updates #58378 Change-Id: I966970693ba07f8c66da0aca83c23caad7cbbfe5 Reviewed-on: https://go-review.googlesource.com/c/go/+/466458 Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Quim Muntal <quimmuntal@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/textflag.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/textflag.h b/src/runtime/textflag.h
index 214075e360..8930312201 100644
--- a/src/runtime/textflag.h
+++ b/src/runtime/textflag.h
@@ -28,7 +28,6 @@
#define TLSBSS 256
// Do not insert instructions to allocate a stack frame for this function.
// Only valid on functions that declare a frame size of 0.
-// TODO(mwhudson): only implemented for ppc64x at present.
#define NOFRAME 512
// Function can call reflect.Type.Method or reflect.Type.MethodByName.
#define REFLECTMETHOD 1024