aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/export_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/export_test.go')
-rw-r--r--src/runtime/export_test.go24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/runtime/export_test.go b/src/runtime/export_test.go
index a7b51dd6c7..da3b620d49 100644
--- a/src/runtime/export_test.go
+++ b/src/runtime/export_test.go
@@ -1289,30 +1289,6 @@ func MSpanCountAlloc(ms *MSpan, bits []byte) int {
return result
}
-type MSpanQueue mSpanQueue
-
-func (q *MSpanQueue) Size() int {
- return (*mSpanQueue)(q).n
-}
-
-func (q *MSpanQueue) Push(s *MSpan) {
- (*mSpanQueue)(q).push((*mspan)(s))
-}
-
-func (q *MSpanQueue) Pop() *MSpan {
- s := (*mSpanQueue)(q).pop()
- return (*MSpan)(s)
-}
-
-func (q *MSpanQueue) TakeAll(p *MSpanQueue) {
- (*mSpanQueue)(q).takeAll((*mSpanQueue)(p))
-}
-
-func (q *MSpanQueue) PopN(n int) MSpanQueue {
- p := (*mSpanQueue)(q).popN(n)
- return (MSpanQueue)(p)
-}
-
const (
TimeHistSubBucketBits = timeHistSubBucketBits
TimeHistNumSubBuckets = timeHistNumSubBuckets