1
0
mirror of https://github.com/golang/go synced 2024-11-23 00:40:08 -07:00

runtime: fix typos

This commit is contained in:
Jes Cok 2023-06-09 19:35:58 +08:00
parent 39effbc105
commit 32ca70f52a
10 changed files with 20 additions and 20 deletions

View File

@ -802,8 +802,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.
MOVL savedm-4(SP), DX
CMPL DX, $0
JNE droppedm

View File

@ -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

View File

@ -740,8 +740,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.
MOVW savedm-4(SP), R6
CMP $0, R6
B.NE done

View File

@ -1127,8 +1127,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.
MOVD savedm-8(SP), R6
CBNZ R6, droppedm

View File

@ -566,8 +566,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.
MOVV savedm-8(SP), R12
BNE R12, droppedm

View File

@ -574,8 +574,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.
MOVV savedm-8(SP), R3
BNE R3, droppedm

View File

@ -564,8 +564,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.
MOVW savedm-4(SP), R3
BNE R3, droppedm

View File

@ -740,8 +740,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.
MOVD savedm-8(SP), R6
CMP R6, $0
BNE droppedm

View File

@ -624,8 +624,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.
MOV savedm-8(SP), X5
BNE ZERO, X5, droppedm

View File

@ -669,8 +669,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.
MOVD savedm-8(SP), R6
CMPBNE R6, $0, droppedm