mirror of
https://github.com/golang/go
synced 2024-11-05 15:16:11 -07:00
runtime: correct function name in throw message
Change-Id: I8fd271066925734c3f7196f64db04f27c4ce27cb Reviewed-on: https://go-review.googlesource.com/30274 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
f28cf8346c
commit
6b795e77df
@ -336,7 +336,7 @@ func (m markBits) clearMarkedNonAtomic() {
|
||||
// markBitsForSpan returns the markBits for the span base address base.
|
||||
func markBitsForSpan(base uintptr) (mbits markBits) {
|
||||
if base < mheap_.arena_start || base >= mheap_.arena_used {
|
||||
throw("heapBitsForSpan: base out of range")
|
||||
throw("markBitsForSpan: base out of range")
|
||||
}
|
||||
mbits = markBitsForAddr(base)
|
||||
if mbits.mask != 1 {
|
||||
|
Loading…
Reference in New Issue
Block a user