proc: fix comment typos (#3531)
This commit is contained in:
parent
2c700230de
commit
0761d37c53
@ -88,7 +88,7 @@ func (ctx *compileCtx) pushOp(op Op) {
|
||||
}
|
||||
|
||||
// depthCheck validates the list of instructions produced by Compile and
|
||||
// CompileSet by peforming a stack depth check.
|
||||
// CompileSet by performing a stack depth check.
|
||||
// It calculates the depth of the stack at every instruction in ctx.ops and
|
||||
// checks that they have enough arguments to execute. For instructions that
|
||||
// can be reached through multiple paths (because of a jump) it checks that
|
||||
|
@ -133,7 +133,7 @@ type Index struct {
|
||||
|
||||
func (*Index) depthCheck() (npop, npush int) { return 2, 1 }
|
||||
|
||||
// Jump looks at the topmost stack variable and if it satisifies the
|
||||
// Jump looks at the topmost stack variable and if it satisfies the
|
||||
// condition specified by When it jumps to the stack machine instruction at
|
||||
// Target+1.
|
||||
// If Pop is set the topmost stack variable is also popped.
|
||||
|
Loading…
Reference in New Issue
Block a user