rt: Turn off some debug code
This commit is contained in:
parent
0c4e0fdfae
commit
b995028c47
2 changed files with 6 additions and 4 deletions
|
@ -382,12 +382,14 @@ mark::do_mark(rust_task *task, const std::vector<void *> &roots,
|
||||||
shape::type_param *params =
|
shape::type_param *params =
|
||||||
shape::type_param::from_tydesc_and_data(tydesc, p, arena);
|
shape::type_param::from_tydesc_and_data(tydesc, p, arena);
|
||||||
|
|
||||||
|
#if 0
|
||||||
// We skip over the reference count here.
|
// We skip over the reference count here.
|
||||||
shape::log log(task, true, tydesc->shape, params,
|
shape::log log(task, true, tydesc->shape, params,
|
||||||
tydesc->shape_tables, p + sizeof(uintptr_t),
|
tydesc->shape_tables, p + sizeof(uintptr_t),
|
||||||
std::cerr);
|
std::cerr);
|
||||||
log.walk();
|
log.walk();
|
||||||
DPRINT("\n");
|
DPRINT("\n");
|
||||||
|
#endif
|
||||||
|
|
||||||
// We skip over the reference count here.
|
// We skip over the reference count here.
|
||||||
mark mark(task, true, tydesc->shape, params, tydesc->shape_tables,
|
mark mark(task, true, tydesc->shape, params, tydesc->shape_tables,
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
|
|
||||||
#define ARENA_SIZE 256
|
#define ARENA_SIZE 256
|
||||||
|
|
||||||
#define DPRINT(fmt,...) fprintf(stderr, fmt, ##__VA_ARGS__)
|
//#define DPRINT(fmt,...) fprintf(stderr, fmt, ##__VA_ARGS__)
|
||||||
#define DPRINTCX(cx) shape::print::print_cx(cx)
|
//#define DPRINTCX(cx) shape::print::print_cx(cx)
|
||||||
|
|
||||||
//#define DPRINT(fmt,...)
|
#define DPRINT(fmt,...)
|
||||||
//#define DPRINTCX(cx)
|
#define DPRINTCX(cx)
|
||||||
|
|
||||||
|
|
||||||
namespace shape {
|
namespace shape {
|
||||||
|
|
Loading…
Reference in a new issue