diff options
Diffstat (limited to 'src/cmd')
| -rw-r--r-- | src/cmd/compile/internal/ssa/loopbce.go | 2 | ||||
| -rw-r--r-- | src/cmd/compile/internal/typecheck/iimport.go | 2 | ||||
| -rw-r--r-- | src/cmd/go/internal/fsys/fsys.go | 2 | ||||
| -rw-r--r-- | src/cmd/internal/obj/arm64/asm7.go | 2 | ||||
| -rw-r--r-- | src/cmd/internal/obj/s390x/a.out.go | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/cmd/compile/internal/ssa/loopbce.go b/src/cmd/compile/internal/ssa/loopbce.go index dd63541771..3181edca29 100644 --- a/src/cmd/compile/internal/ssa/loopbce.go +++ b/src/cmd/compile/internal/ssa/loopbce.go @@ -161,7 +161,7 @@ func findIndVar(f *Func) []indVar { // Up to now we extracted the induction variable (ind), // the increment delta (inc), the temporary sum (nxt), - // the mininum value (min) and the maximum value (max). + // the minimum value (min) and the maximum value (max). // // We also know that ind has the form (Phi min nxt) where // nxt is (Add inc nxt) which means: 1) inc dominates nxt diff --git a/src/cmd/compile/internal/typecheck/iimport.go b/src/cmd/compile/internal/typecheck/iimport.go index 6a29c14e3c..3a51f781f0 100644 --- a/src/cmd/compile/internal/typecheck/iimport.go +++ b/src/cmd/compile/internal/typecheck/iimport.go @@ -733,7 +733,7 @@ func (p *iimporter) typAt(off uint64) *types.Type { } t = p.newReader(off-predeclReserved, nil).typ1() // Ensure size is calculated for imported types. Since CL 283313, the compiler - // does not compile the function immediately when it sees them. Instead, funtions + // does not compile the function immediately when it sees them. Instead, functions // are pushed to compile queue, then draining from the queue for compiling. // During this process, the size calculation is disabled, so it is not safe for // calculating size during SSA generation anymore. See issue #44732. diff --git a/src/cmd/go/internal/fsys/fsys.go b/src/cmd/go/internal/fsys/fsys.go index 9a1bbf890e..41d0bbfe66 100644 --- a/src/cmd/go/internal/fsys/fsys.go +++ b/src/cmd/go/internal/fsys/fsys.go @@ -295,7 +295,7 @@ func ReadDir(dir string) ([]fs.FileInfo, error) { files[name] = missingFile(name) continue } else if f.IsDir() { - return nil, fmt.Errorf("for overlay of %q to %q: overlay Replace entries can't point to dirctories", + return nil, fmt.Errorf("for overlay of %q to %q: overlay Replace entries can't point to directories", filepath.Join(dir, name), to.actualFilePath) } // Add a fileinfo for the overlaid file, so that it has diff --git a/src/cmd/internal/obj/arm64/asm7.go b/src/cmd/internal/obj/arm64/asm7.go index 9cf1fcd460..98933464bb 100644 --- a/src/cmd/internal/obj/arm64/asm7.go +++ b/src/cmd/internal/obj/arm64/asm7.go @@ -7412,7 +7412,7 @@ func (c *ctxt7) opextr(p *obj.Prog, a obj.As, v int32, rn int, rm int, rt int) u return o } -/* genrate instruction encoding for ldp and stp series */ +/* generate instruction encoding for ldp and stp series */ func (c *ctxt7) opldpstp(p *obj.Prog, o *Optab, vo int32, rbase, rl, rh, ldp uint32) uint32 { wback := false if o.scond == C_XPOST || o.scond == C_XPRE { diff --git a/src/cmd/internal/obj/s390x/a.out.go b/src/cmd/internal/obj/s390x/a.out.go index 2605014e6d..c1bda1fced 100644 --- a/src/cmd/internal/obj/s390x/a.out.go +++ b/src/cmd/internal/obj/s390x/a.out.go @@ -204,7 +204,7 @@ const ( // comments from func aclass in asmz.go C_DCON // constant (int64 or uint64) C_SACON // computed address, 16-bit displacement, possibly SP-relative C_LACON // computed address, 32-bit displacement, possibly SP-relative - C_DACON // computed address, 64-bit displacment? + C_DACON // computed address, 64-bit displacement? C_SBRA // short branch C_LBRA // long branch C_SAUTO // short auto |
