Skip to content

Commit

Permalink
zstd: Fix non-effective noescape tag (#667)
Browse files Browse the repository at this point in the history
Regression from #598 causing excessive heap allocations.
  • Loading branch information
klauspost authored Sep 25, 2022
1 parent 697e507 commit ef0aeb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zstd/fse_decoder_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ type buildDtableAsmContext struct {

// buildDtable_asm is an x86 assembly implementation of fseDecoder.buildDtable.
// Function returns non-zero exit code on error.
// go:noescape
//
//go:noescape
func buildDtable_asm(s *fseDecoder, ctx *buildDtableAsmContext) int

// please keep in sync with _generate/gen_fse.go
Expand Down

0 comments on commit ef0aeb7

Please sign in to comment.