Skip to content

Commit 347230b

Browse files
committed
rt: Add the last few cases to polymorphic log
1 parent 955ac84 commit 347230b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/rt/rust_shape.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,6 +1284,17 @@ class log : public data<log,ptr> {
12841284
data<log,ptr>::walk_box_contents(align);
12851285
}
12861286

1287+
void walk_fn(bool align) { out << "fn"; }
1288+
void walk_obj(bool align) { out << "obj"; }
1289+
void walk_port(bool align) { out << "port"; }
1290+
void walk_chan(bool align) { out << "chan"; }
1291+
void walk_task(bool align) { out << "task"; }
1292+
1293+
void walk_res(bool align, const rust_fn *dtor, uint16_t n_ty_params,
1294+
const uint8_t *ty_params_sp) {
1295+
out << "res"; // TODO
1296+
}
1297+
12871298
void walk_subcontext(bool align, log &sub) { sub.walk(align); }
12881299

12891300
void walk_box_contents(bool align, log &sub, ptr &ref_count_dp) {

0 commit comments

Comments
 (0)