Skip to content

Commit 0761d37

Browse files
authored
proc: fix comment typos (#3531)
1 parent 2c70023 commit 0761d37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎pkg/proc/evalop/evalcompile.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func (ctx *compileCtx) pushOp(op Op) {
8888
}
8989

9090
// depthCheck validates the list of instructions produced by Compile and
91-
// CompileSet by peforming a stack depth check.
91+
// CompileSet by performing a stack depth check.
9292
// It calculates the depth of the stack at every instruction in ctx.ops and
9393
// checks that they have enough arguments to execute. For instructions that
9494
// can be reached through multiple paths (because of a jump) it checks that

‎pkg/proc/evalop/ops.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ type Index struct {
133133

134134
func (*Index) depthCheck() (npop, npush int) { return 2, 1 }
135135

136-
// Jump looks at the topmost stack variable and if it satisifies the
136+
// Jump looks at the topmost stack variable and if it satisfies the
137137
// condition specified by When it jumps to the stack machine instruction at
138138
// Target+1.
139139
// If Pop is set the topmost stack variable is also popped.

0 commit comments

Comments
 (0)