diff --git a/pkg/proc/evalop/evalcompile.go b/pkg/proc/evalop/evalcompile.go index 5b6519aa..938df91b 100644 --- a/pkg/proc/evalop/evalcompile.go +++ b/pkg/proc/evalop/evalcompile.go @@ -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 diff --git a/pkg/proc/evalop/ops.go b/pkg/proc/evalop/ops.go index abd90d3e..1bd25729 100644 --- a/pkg/proc/evalop/ops.go +++ b/pkg/proc/evalop/ops.go @@ -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.