Skip to content

Commit 53c9367

Browse files
committed
---
yaml --- r: 5095 b: refs/heads/master c: 9d00ef9 h: refs/heads/master i: 5093: 4fc8fcd 5091: 277ddae 5087: 0688f10 v: v3
1 parent 0c05d91 commit 53c9367

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
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: bbac2dd7687608f1865539e2be92201d127b43a8
2+
refs/heads/master: 9d00ef9a461ec04962f4ffbd6567364c0c2e9d73

trunk/src/rt/rust_shape.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,11 +1015,17 @@ class log : public data<log,ptr> {
10151015
prefix("") {}
10161016

10171017
void walk_evec(bool is_pod, uint16_t sp_size) {
1018-
walk_vec(is_pod, get_evec_data_range(dp));
1018+
if (!get_dp<void *>(dp))
1019+
out << prefix << "(null)";
1020+
else
1021+
walk_vec(is_pod, get_evec_data_range(dp));
10191022
}
10201023

10211024
void walk_vec(bool is_pod, uint16_t sp_size) {
1022-
walk_vec(is_pod, get_vec_data_range(dp));
1025+
if (!get_dp<void *>(dp))
1026+
out << prefix << "(null)";
1027+
else
1028+
walk_vec(is_pod, get_vec_data_range(dp));
10231029
}
10241030

10251031
void walk_tag(tag_info &tinfo, uint32_t tag_variant) {

0 commit comments

Comments
 (0)