diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2011-04-28 13:14:25 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-04-28 13:26:19 -0700 |
| commit | bfa3c05994aab9f2fed251b4cbabb5912d1d894c (patch) | |
| tree | 6bda77e612a0db76ab65e4b0f0cb523cc0de9bfb /src/rt/rust_upcall.cpp | |
| parent | 2c3808b5111edfd73fddc2b55bf1dbc55a58ee7d (diff) | |
| download | rust-bfa3c05994aab9f2fed251b4cbabb5912d1d894c.tar.gz rust-bfa3c05994aab9f2fed251b4cbabb5912d1d894c.zip | |
Log refcounts in upcall_vec_grow.
Diffstat (limited to 'src/rt/rust_upcall.cpp')
| -rw-r--r-- | src/rt/rust_upcall.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index 9178aac2d30..5cfd384791e 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -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); |
