aboutsummaryrefslogtreecommitdiffhomepage
path: root/stacksize/stacksize.go
diff options
context:
space:
mode:
authordkegel-fastly <[email protected]>2024-04-19 06:57:01 -0700
committerGitHub <[email protected]>2024-04-19 06:57:01 -0700
commit39029cc37604c175c8b512478ba60ab617e79960 (patch)
tree16b9504cf2c4a9cd2f699542cf33e008f0b83238 /stacksize/stacksize.go
parent712275572554d0ba8ee85e722fef8d6c91d6531a (diff)
downloadtinygo-39029cc37604c175c8b512478ba60ab617e79960.tar.gz
tinygo-39029cc37604c175c8b512478ba60ab617e79960.zip
Run Nick G's spellchecker github.com/client9/misspell, carefuly fix what it found (#4235)
Diffstat (limited to 'stacksize/stacksize.go')
-rw-r--r--stacksize/stacksize.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stacksize/stacksize.go b/stacksize/stacksize.go
index 8cccbaec6..2cc099f2a 100644
--- a/stacksize/stacksize.go
+++ b/stacksize/stacksize.go
@@ -224,7 +224,7 @@ func CallGraph(f *elf.File, callsIndirectFunction []string) (map[string][]*CallN
for name, size := range knownFrameSizes {
if sym, ok := symbolNames[name]; ok {
if len(sym) > 1 {
- return nil, fmt.Errorf("expected zero or one occurence of the symbol %s, found %d", name, len(sym))
+ return nil, fmt.Errorf("expected zero or one occurrence of the symbol %s, found %d", name, len(sym))
}
sym[0].FrameSize = size
sym[0].FrameSizeType = Bounded