diff options
Diffstat (limited to 'src/cmd/compile')
| -rw-r--r-- | src/cmd/compile/internal/ssa/loopbce.go | 2 | ||||
| -rw-r--r-- | src/cmd/compile/internal/typecheck/iimport.go | 2 |
2 files changed, 2 insertions, 2 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. |
