Parcourir la source

noescape on asm functions

Darien Raymond il y a 7 ans
Parent
commit
91227581e5
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      transport/internet/kcp/xor_amd64.go

+ 3 - 0
transport/internet/kcp/xor_amd64.go

@@ -1,4 +1,7 @@
 package kcp
 
+//go:noescape
 func xorfwd(x []byte)
+
+//go:noescape
 func xorbkd(x []byte)