From 0761d37c534e3acfed48aac81d81493440531799 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Thu, 19 Oct 2023 21:04:31 +0300 Subject: [PATCH] proc: fix comment typos (#3531) --- pkg/proc/evalop/evalcompile.go | 2 +- pkg/proc/evalop/ops.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.