mirror of
https://github.com/golang/go
synced 2024-11-18 08:44:43 -07:00
runtime: fix some typos
Change-Id: I31f2081eb7c30a9583f479f9194e636fe721b9b3
GitHub-Last-Rev: d09f5fbdc5
GitHub-Pull-Request: golang/go#45278
Reviewed-on: https://go-review.googlesource.com/c/go/+/305231
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
parent
67d565d281
commit
9fbd0f64d8
@ -398,7 +398,7 @@ func getempty() *workbuf {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// putempty puts a workbuf onto the work.empty list.
|
// putempty puts a workbuf onto the work.empty list.
|
||||||
// Upon entry this go routine owns b. The lfstack.push relinquishes ownership.
|
// Upon entry this goroutine owns b. The lfstack.push relinquishes ownership.
|
||||||
//go:nowritebarrier
|
//go:nowritebarrier
|
||||||
func putempty(b *workbuf) {
|
func putempty(b *workbuf) {
|
||||||
b.checkempty()
|
b.checkempty()
|
||||||
|
@ -6231,7 +6231,7 @@ func doInit(t *initTask) {
|
|||||||
|
|
||||||
if inittrace.active {
|
if inittrace.active {
|
||||||
end := nanotime()
|
end := nanotime()
|
||||||
// Load stats non-atomically since tracinit is updated only by this init go routine.
|
// Load stats non-atomically since tracinit is updated only by this init goroutine.
|
||||||
after := inittrace
|
after := inittrace
|
||||||
|
|
||||||
pkg := funcpkgpath(findfunc(funcPC(firstFunc)))
|
pkg := funcpkgpath(findfunc(funcPC(firstFunc)))
|
||||||
|
@ -157,7 +157,7 @@ g0:
|
|||||||
MOVW R2, 4(R13) // Move arg0 (ExceptionRecord) into position
|
MOVW R2, 4(R13) // Move arg0 (ExceptionRecord) into position
|
||||||
MOVW R3, 8(R13) // Move arg1 (ContextRecord) into position
|
MOVW R3, 8(R13) // Move arg1 (ContextRecord) into position
|
||||||
MOVW R5, 12(R13) // Move arg2 (original g) into position
|
MOVW R5, 12(R13) // Move arg2 (original g) into position
|
||||||
BL (R7) // Call the go routine
|
BL (R7) // Call the goroutine
|
||||||
MOVW 16(R13), R4 // Fetch return value from stack
|
MOVW 16(R13), R4 // Fetch return value from stack
|
||||||
|
|
||||||
// Save system stack pointer for sigresume setup below.
|
// Save system stack pointer for sigresume setup below.
|
||||||
|
Loading…
Reference in New Issue
Block a user