Skip to content

Commit f98a8e9

Browse files
committed
---
yaml --- r: 5504 b: refs/heads/master c: b995028 h: refs/heads/master v: v3
1 parent 530c233 commit f98a8e9

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 0c4e0fdfae2fad4a132bdfef3cb856ec5dde84c9
2+
refs/heads/master: b995028c47deb40457657a42c6fff45e6717e3f4

trunk/src/rt/rust_cc.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,12 +382,14 @@ mark::do_mark(rust_task *task, const std::vector<void *> &roots,
382382
shape::type_param *params =
383383
shape::type_param::from_tydesc_and_data(tydesc, p, arena);
384384

385+
#if 0
385386
// We skip over the reference count here.
386387
shape::log log(task, true, tydesc->shape, params,
387388
tydesc->shape_tables, p + sizeof(uintptr_t),
388389
std::cerr);
389390
log.walk();
390391
DPRINT("\n");
392+
#endif
391393

392394
// We skip over the reference count here.
393395
mark mark(task, true, tydesc->shape, params, tydesc->shape_tables,

trunk/src/rt/rust_shape.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616

1717
#define ARENA_SIZE 256
1818

19-
#define DPRINT(fmt,...) fprintf(stderr, fmt, ##__VA_ARGS__)
20-
#define DPRINTCX(cx) shape::print::print_cx(cx)
19+
//#define DPRINT(fmt,...) fprintf(stderr, fmt, ##__VA_ARGS__)
20+
//#define DPRINTCX(cx) shape::print::print_cx(cx)
2121

22-
//#define DPRINT(fmt,...)
23-
//#define DPRINTCX(cx)
22+
#define DPRINT(fmt,...)
23+
#define DPRINTCX(cx)
2424

2525

2626
namespace shape {

0 commit comments

Comments
 (0)