mirror of https://github.com/golang/go.git
runtime: use Escape instead of escape in export_test.go
I landed the bottom CL of my stack without rebasing or retrying trybots, but in the rebase "escape" was removed in favor of "Escape." Change-Id: Icdc4d8de8b6ebc782215f2836cd191377cc211df Reviewed-on: https://go-review.googlesource.com/c/go/+/403755 Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Michael Knyszek <mknyszek@google.com>
This commit is contained in:
parent
f01c20bf2b
commit
e7508598bb
|
|
@ -1414,7 +1414,7 @@ func NewGCCPULimiter(now int64, gomaxprocs int32) *GCCPULimiter {
|
|||
// do 64-bit atomics on it, and if it gets stack-allocated
|
||||
// on a 32-bit architecture, it may get allocated unaligned
|
||||
// space.
|
||||
l := escape(new(GCCPULimiter))
|
||||
l := Escape(new(GCCPULimiter))
|
||||
l.limiter.resetCapacity(now, gomaxprocs)
|
||||
return l
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue