summaryrefslogtreecommitdiff
path: root/vendor/github.com/bytedance/sonic/internal/rt/stackmap.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-06-01 22:20:16 +0100
committerLibravatar GitHub <noreply@github.com>2023-06-01 22:20:16 +0100
commit55aacaf4b07c1921061245cbaa3d307e97cf3c29 (patch)
treed969c5d9728566de1e794e19c5b19d3b660f790e /vendor/github.com/bytedance/sonic/internal/rt/stackmap.go
parent[chore/frontend] refactor header templating, add apple-touch-icon (#1850) (diff)
downloadgotosocial-55aacaf4b07c1921061245cbaa3d307e97cf3c29.tar.xz
[chore]: Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 (#1855)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/github.com/bytedance/sonic/internal/rt/stackmap.go')
-rw-r--r--vendor/github.com/bytedance/sonic/internal/rt/stackmap.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/github.com/bytedance/sonic/internal/rt/stackmap.go b/vendor/github.com/bytedance/sonic/internal/rt/stackmap.go
index e2c28c598..84ed9a95f 100644
--- a/vendor/github.com/bytedance/sonic/internal/rt/stackmap.go
+++ b/vendor/github.com/bytedance/sonic/internal/rt/stackmap.go
@@ -152,6 +152,7 @@ type StackMapBuilder struct {
b Bitmap
}
+//go:nocheckptr
func (self *StackMapBuilder) Build() (p *StackMap) {
nb := len(self.b.B)
bm := mallocgc(_StackMapSize + uintptr(nb) - 1, byteType, false)