Explorar o código

noescape on asm functions

Darien Raymond %!s(int64=7) %!d(string=hai) anos
pai
achega
91227581e5
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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)