Skip to content

Commit b391f44

Browse files
committed
Add commented out code for getting size once we know the type
1 parent 27827f8 commit b391f44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gc-heap-snapshot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ JL_DLLEXPORT void record_node_to_gc_snapshot(jl_value_t *a) {
140140
"", // string type;
141141
"", // string name;
142142
(size_t)a, // size_t id;
143-
0, // size_t self_size;
143+
/*jl_datatype_size(type)*/ 0, // size_t self_size;
144144
0, // int edge_count;
145145
0, // size_t trace_node_id;
146146
0 // int detachedness; // 0 - unknown, 1 - attached; 2 - detached

0 commit comments

Comments
 (0)