diff options
| author | John Bampton <jbampton@gmail.com> | 2022-05-17 23:37:44 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-05-18 00:47:29 +0000 |
| commit | 20db15ce12fd7349fb160fc0bf556efb24eaac84 (patch) | |
| tree | 8bc02097c1cfe2adf69a92812233f77dab672b5a /src/runtime | |
| parent | 1c6706c71b6b3f783a4f1ce78433a10aa302a9c8 (diff) | |
| download | go-20db15ce12fd7349fb160fc0bf556efb24eaac84.tar.xz | |
all: fix spelling
Change-Id: I63eb42f3ce5ca452279120a5b33518f4ce16be45
GitHub-Last-Rev: a88f2f72bef402344582ae997a4907457002b5df
GitHub-Pull-Request: golang/go#52951
Reviewed-on: https://go-review.googlesource.com/c/go/+/406843
Run-TryBot: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/asm_amd64.s | 2 | ||||
| -rw-r--r-- | src/runtime/asm_arm64.s | 2 | ||||
| -rw-r--r-- | src/runtime/mgcpacer.go | 2 | ||||
| -rw-r--r-- | src/runtime/mspanset.go | 2 | ||||
| -rw-r--r-- | src/runtime/sys_windows_arm.s | 2 | ||||
| -rw-r--r-- | src/runtime/sys_windows_arm64.s | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/runtime/asm_amd64.s b/src/runtime/asm_amd64.s index 86d6a96d88..d2f7984178 100644 --- a/src/runtime/asm_amd64.s +++ b/src/runtime/asm_amd64.s @@ -1775,7 +1775,7 @@ GLOBL debugCallFrameTooLarge<>(SB), RODATA, $20 // Size duplicated below // 2. Push the current PC on the stack (updating SP). // 3. Write the desired argument frame size at SP-16 (using the SP // after step 2). -// 4. Save all machine registers (including flags and XMM reigsters) +// 4. Save all machine registers (including flags and XMM registers) // so they can be restored later by the debugger. // 5. Set the PC to debugCallV2 and resume execution. // diff --git a/src/runtime/asm_arm64.s b/src/runtime/asm_arm64.s index 8310c2ca10..f593b4a78b 100644 --- a/src/runtime/asm_arm64.s +++ b/src/runtime/asm_arm64.s @@ -1259,7 +1259,7 @@ GLOBL debugCallFrameTooLarge<>(SB), RODATA, $20 // Size duplicated below // 3. Store the current LR in (SP) (using the SP after step 2). // 4. Store the current PC in the LR register. // 5. Write the desired argument frame size at SP-16 -// 6. Save all machine registers (including flags and fpsimd reigsters) +// 6. Save all machine registers (including flags and fpsimd registers) // so they can be restored later by the debugger. // 7. Set the PC to debugCallV2 and resume execution. // diff --git a/src/runtime/mgcpacer.go b/src/runtime/mgcpacer.go index 7acedfcded..c275c7dbc4 100644 --- a/src/runtime/mgcpacer.go +++ b/src/runtime/mgcpacer.go @@ -1153,7 +1153,7 @@ func (c *gcControllerState) trigger() (uint64, uint64) { // Below this point, c.heapMarked < goal. - // heapMarked is our absolute minumum, and it's possible the trigger + // heapMarked is our absolute minimum, and it's possible the trigger // bound we get from heapGoalinternal is less than that. if minTrigger < c.heapMarked { minTrigger = c.heapMarked diff --git a/src/runtime/mspanset.go b/src/runtime/mspanset.go index 29f14910cc..4158495ddd 100644 --- a/src/runtime/mspanset.go +++ b/src/runtime/mspanset.go @@ -201,7 +201,7 @@ claimLoop: // Increase the popped count. If we are the last possible popper // in the block (note that bottom need not equal spanSetBlockEntries-1 - // due to races) then it's our resposibility to free the block. + // due to races) then it's our responsibility to free the block. // // If we increment popped to spanSetBlockEntries, we can be sure that // we're the last popper for this block, and it's thus safe to free it. diff --git a/src/runtime/sys_windows_arm.s b/src/runtime/sys_windows_arm.s index e5b1b7e9f3..5dc576a260 100644 --- a/src/runtime/sys_windows_arm.s +++ b/src/runtime/sys_windows_arm.s @@ -319,7 +319,7 @@ TEXT runtime·usleep2(SB),NOSPLIT|NOFRAME,$0-4 // Runs on OS stack. // duration (in -100ns units) is in dt+0(FP). // g is valid. -// TODO: neeeds to be implemented properly. +// TODO: needs to be implemented properly. TEXT runtime·usleep2HighRes(SB),NOSPLIT|NOFRAME,$0-4 B runtime·abort(SB) diff --git a/src/runtime/sys_windows_arm64.s b/src/runtime/sys_windows_arm64.s index 7b1514f552..024625f821 100644 --- a/src/runtime/sys_windows_arm64.s +++ b/src/runtime/sys_windows_arm64.s @@ -371,7 +371,7 @@ TEXT runtime·usleep2(SB),NOSPLIT,$32-4 // Runs on OS stack. // duration (in -100ns units) is in dt+0(FP). // g is valid. -// TODO: neeeds to be implemented properly. +// TODO: needs to be implemented properly. TEXT runtime·usleep2HighRes(SB),NOSPLIT,$0-4 B runtime·abort(SB) |
