diff options
Diffstat (limited to 'src/rt/rust_util.h')
| -rw-r--r-- | src/rt/rust_util.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/rt/rust_util.h b/src/rt/rust_util.h index b36b7763..8e4bf26c 100644 --- a/src/rt/rust_util.h +++ b/src/rt/rust_util.h @@ -24,18 +24,16 @@ ptr_vec<T>::ptr_vec(rust_dom *dom) : data(new (dom) T*[alloc]) { I(dom, data); - DLOG(dom, rust_log::MEM, - "new ptr_vec(data=0x%" PRIxPTR ") -> 0x%" PRIxPTR, - (uintptr_t)data, (uintptr_t)this); + DLOG(dom, mem, "new ptr_vec(data=0x%" PRIxPTR ") -> 0x%" PRIxPTR, + (uintptr_t)data, (uintptr_t)this); } template <typename T> ptr_vec<T>::~ptr_vec() { I(dom, data); - DLOG(dom, rust_log::MEM, - "~ptr_vec 0x%" PRIxPTR ", data=0x%" PRIxPTR, - (uintptr_t)this, (uintptr_t)data); + DLOG(dom, mem, "~ptr_vec 0x%" PRIxPTR ", data=0x%" PRIxPTR, + (uintptr_t)this, (uintptr_t)data); I(dom, fill == 0); dom->free(data); } |