mirror of
https://github.com/golang/go
synced 2024-11-22 16:25:07 -07:00
build nits
R=r DELTA=8 (0 added, 6 deleted, 2 changed) OCL=25045 CL=25045
This commit is contained in:
parent
3b3e63735e
commit
78a6d68c86
@ -52,12 +52,6 @@ time make
|
||||
make smoketest
|
||||
) || exit $?
|
||||
|
||||
# (xcd ../usr/gri/gosrc
|
||||
# make clean
|
||||
# time make
|
||||
# # make test
|
||||
# ) || exit $?
|
||||
|
||||
(xcd ../doc/progs
|
||||
time ./run
|
||||
) || exit $?
|
||||
|
@ -162,9 +162,9 @@ mlookup(void *v, byte **base, uintptr *size, uint32 **ref)
|
||||
*size = n;
|
||||
nobj = (s->npages << PageShift) / (n + RefcountOverhead);
|
||||
if((byte*)s->gcref < p || (byte*)(s->gcref+nobj) > p+(s->npages<<PageShift)) {
|
||||
printf("odd span state=%d span=%p base=%p sizeclass=%d n=%d size=%d npages=%d\n",
|
||||
printf("odd span state=%d span=%p base=%p sizeclass=%d n=%D size=%D npages=%D\n",
|
||||
s->state, s, p, s->sizeclass, nobj, n, s->npages);
|
||||
printf("s->base sizeclass %d v=%p base=%p gcref=%p blocksize=%D nobj=%d size=%D end=%p end=%p\n",
|
||||
printf("s->base sizeclass %d v=%p base=%p gcref=%p blocksize=%D nobj=%D size=%D end=%p end=%p\n",
|
||||
s->sizeclass, v, p, s->gcref, s->npages<<PageShift,
|
||||
nobj, n, s->gcref + nobj, p+(s->npages<<PageShift));
|
||||
throw("bad gcref");
|
||||
|
Loading…
Reference in New Issue
Block a user