diff options
author | Austin Clements <austin@google.com> | 2020-10-03 19:52:08 -0400 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2020-10-26 14:50:35 +0000 |
commit | bda37a0b8a4e89318901a68492b79cf6531fa2ff (patch) | |
tree | 001f6500cd216cb2f69758839b34757b20db0c23 /src/runtime/runtime2.go | |
parent | c91dffbc9aeaacd087eb0c0c3f718739bc5f8c4a (diff) | |
download | go-bda37a0b8a4e89318901a68492b79cf6531fa2ff.tar.gz go-bda37a0b8a4e89318901a68492b79cf6531fa2ff.zip |
runtime: tidy compileCallback
This makes a few minor cleanups and simplifications to compileCallback.
Change-Id: Ibebf4b5ed66fb68bba7c84129c127cd4d8a691fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/263269
Trust: Austin Clements <austin@google.com>
Trust: Alex Brainman <alex.brainman@gmail.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Diffstat (limited to 'src/runtime/runtime2.go')
-rw-r--r-- | src/runtime/runtime2.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 21dd7b3949..7bac5fd38d 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -387,14 +387,6 @@ type libcall struct { err uintptr // error number } -// describes how to handle callback -type wincallbackcontext struct { - gobody unsafe.Pointer // go function to call - argsize uintptr // callback arguments size (in bytes) - restorestack uintptr // adjust stack on return by (in bytes) (386 only) - cleanstack bool -} - // Stack describes a Go execution stack. // The bounds of the stack are exactly [lo, hi), // with no implicit data structures on either side. |