]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: use Escape instead of escape in export_test.go
authorMichael Anthony Knyszek <mknyszek@google.com>
Tue, 3 May 2022 15:40:40 +0000 (15:40 +0000)
committerMichael Knyszek <mknyszek@google.com>
Tue, 3 May 2022 15:51:30 +0000 (15:51 +0000)
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>

src/runtime/export_test.go

index 0d17ddfe30c9b054ad645cc6e210c65d9eafda6b..380bf9cb13a9b2fb1a241642e406029b3e91c8a2 100644 (file)
@@ -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
 }