diff options
| author | Marijn Haverbeke <[email protected]> | 2011-04-07 22:05:45 +0200 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-04-07 15:15:30 -0700 |
| commit | 9a7576fe2cdd169313b5e25be6bf485407adb496 (patch) | |
| tree | 36f5c9a5baaae95be1fb3cdc9b5b76814b08e803 /src/rt/rust_crate.cpp | |
| parent | rustc: Pointer cast when autodereferencing boxed tag types (diff) | |
| download | rust-9a7576fe2cdd169313b5e25be6bf485407adb496.tar.xz rust-9a7576fe2cdd169313b5e25be6bf485407adb496.zip | |
Move to macro-based logging checks in the C++ code
No functions should be called for log statements that turn out to be
inactive.
Diffstat (limited to 'src/rt/rust_crate.cpp')
| -rw-r--r-- | src/rt/rust_crate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_crate.cpp b/src/rt/rust_crate.cpp index ced6aaf4..23f01c07 100644 --- a/src/rt/rust_crate.cpp +++ b/src/rt/rust_crate.cpp @@ -41,7 +41,7 @@ rust_crate::mem_area::mem_area(rust_dom *dom, uintptr_t pos, size_t sz) base(pos), lim(pos + sz) { - dom->log(rust_log::MEM, "new mem_area [0x%" PRIxPTR ",0x%" PRIxPTR "]", + DLOG(dom, rust_log::MEM, "new mem_area [0x%" PRIxPTR ",0x%" PRIxPTR "]", base, lim); } |