mirror of
https://github.com/golang/go
synced 2024-11-23 08:00:05 -07:00
runtime: fix debug output
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7312101
This commit is contained in:
parent
d844001601
commit
a9824f178d
@ -90,7 +90,7 @@ runtime·stackalloc(uint32 n)
|
||||
// will be a single size, the minimum (right now, 5k).
|
||||
if(n == FixedStack || m->mallocing || m->gcing) {
|
||||
if(n != FixedStack) {
|
||||
runtime·printf("stackalloc: in malloc, size=%d want %d", FixedStack, n);
|
||||
runtime·printf("stackalloc: in malloc, size=%d want %d\n", FixedStack, n);
|
||||
runtime·throw("stackalloc");
|
||||
}
|
||||
if(m->stackcachecnt == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user