aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/asm_amd64.s
diff options
context:
space:
mode:
authorJes Cok <xigua67damn@gmail.com>2023-06-09 11:41:39 +0000
committerGopher Robot <gobot@golang.org>2023-06-10 16:03:33 +0000
commite14937866e0e4aa3fd296e13d1df2d883927ed28 (patch)
tree795dfcdf4f99e02488dcbbee6575b2361eb93a4c /src/runtime/asm_amd64.s
parentfafa4091abb4ed6de6ff4daef67ef1cf9db40923 (diff)
downloadgo-e14937866e0e4aa3fd296e13d1df2d883927ed28.tar.xz
runtime: fix typos
Change-Id: If13f4d4bc545f78e3eb8c23cf2e63f0eb273d71f GitHub-Last-Rev: 32ca70f52a5c3dd66f18535c5e595e66afb3903c GitHub-Pull-Request: golang/go#60703 Reviewed-on: https://go-review.googlesource.com/c/go/+/502055 Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/asm_amd64.s')
-rw-r--r--src/runtime/asm_amd64.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/asm_amd64.s b/src/runtime/asm_amd64.s
index 4ba2333f55..9befd6fb38 100644
--- a/src/runtime/asm_amd64.s
+++ b/src/runtime/asm_amd64.s
@@ -1065,8 +1065,8 @@ havem:
// 2. or the duration of the C thread alive on pthread platforms.
// If the m on entry wasn't nil,
// 1. the thread might be a Go thread,
- // 2. or it's wasn't the first call from a C thread on pthread platforms,
- // since the we skip dropm to resue the m in the first call.
+ // 2. or it wasn't the first call from a C thread on pthread platforms,
+ // since then we skip dropm to resue the m in the first call.
MOVQ savedm-8(SP), BX
CMPQ BX, $0
JNE done