Log refcounts in upcall_vec_grow.

This commit is contained in:
Graydon Hoare 2011-04-28 13:14:25 -07:00
parent 2c3808b511
commit bfa3c05994

View File

@ -401,10 +401,10 @@ upcall_vec_grow(rust_task *task,
LOG_UPCALL_ENTRY(task);
rust_dom *dom = task->dom;
LOG(task, mem,
"upcall vec_grow(0x%" PRIxPTR ", %" PRIdPTR
"), alloc=%" PRIdPTR ", fill=%" PRIdPTR
", need_copy=0x%" PRIxPTR,
v, n_bytes, v->alloc, v->fill, need_copy);
"upcall vec_grow(0x%" PRIxPTR ", %" PRIdPTR
"), rc=%" PRIdPTR " alloc=%" PRIdPTR ", fill=%" PRIdPTR
", need_copy=0x%" PRIxPTR,
v, n_bytes, v->ref_count, v->alloc, v->fill, need_copy);
*need_copy = 0;
size_t alloc = next_power_of_two(sizeof(rust_vec) + v->fill + n_bytes);