about summary refs log tree commit diff
path: root/src/rt/rust_cc.cpp
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2011-09-23 17:08:50 -0700
committerPatrick Walton <pcwalton@mimiga.net>2011-09-23 17:57:25 -0700
commitb995028c47deb40457657a42c6fff45e6717e3f4 (patch)
treea7e7cf87bcd084bd6859d869890b723880907c0c /src/rt/rust_cc.cpp
parent0c4e0fdfae2fad4a132bdfef3cb856ec5dde84c9 (diff)
downloadrust-b995028c47deb40457657a42c6fff45e6717e3f4.tar.gz
rust-b995028c47deb40457657a42c6fff45e6717e3f4.zip
rt: Turn off some debug code
Diffstat (limited to 'src/rt/rust_cc.cpp')
-rw-r--r--src/rt/rust_cc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rt/rust_cc.cpp b/src/rt/rust_cc.cpp
index 146c1f514ba..c0a7c4b4740 100644
--- a/src/rt/rust_cc.cpp
+++ b/src/rt/rust_cc.cpp
@@ -382,12 +382,14 @@ mark::do_mark(rust_task *task, const std::vector<void *> &roots,
             shape::type_param *params =
                 shape::type_param::from_tydesc_and_data(tydesc, p, arena);
 
+#if 0
             // We skip over the reference count here.
             shape::log log(task, true, tydesc->shape, params,
                            tydesc->shape_tables, p + sizeof(uintptr_t),
                            std::cerr);
             log.walk();
             DPRINT("\n");
+#endif
 
             // We skip over the reference count here.
             mark mark(task, true, tydesc->shape, params, tydesc->shape_tables,