aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/asm_amd64.s2
-rw-r--r--src/runtime/asm_arm64.s2
-rw-r--r--src/runtime/mgcpacer.go2
-rw-r--r--src/runtime/mspanset.go2
-rw-r--r--src/runtime/sys_windows_arm.s2
-rw-r--r--src/runtime/sys_windows_arm64.s2
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)