From 45964e4f9c950863adcaeb62fbe49f3fa913f27d Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Sat, 3 Mar 2018 10:28:58 -0800 Subject: internal/bytealg: move Count to bytealg Move bytes.Count and strings.Count to bytealg. Update #19792 Change-Id: I3e4e14b504a0b71758885bb131e5656e342cf8cb Reviewed-on: https://go-review.googlesource.com/98495 Run-TryBot: Keith Randall TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- src/runtime/runtime2.go | 1 + 1 file changed, 1 insertion(+) (limited to 'src/runtime/runtime2.go') diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 556f13d1c1..77982c3e80 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -754,6 +754,7 @@ var ( // Set on startup in asm_{386,amd64,amd64p32}.s. // Packages outside the runtime should not use these // as they are not an external api. + // TODO: deprecate these; use internal/cpu directly. processorVersionInfo uint32 isIntel bool lfenceBeforeRdtsc bool -- cgit v1.3-5-g9baa