rt: Get rid of the hack that looks for captured type descriptors adjacent to the root one for functions and objects
This commit is contained in:
parent
6164de90e2
commit
0c4e0fdfae
5 changed files with 52 additions and 28 deletions
|
|
@ -160,12 +160,13 @@ rust_obstack::dump() const {
|
|||
iterator b = begin(), e = end();
|
||||
while (b != e) {
|
||||
std::pair<const type_desc *,void *> data = *b;
|
||||
uint8_t *dp = reinterpret_cast<uint8_t *>(data.second);
|
||||
|
||||
shape::arena arena;
|
||||
shape::type_param *params =
|
||||
shape::type_param::from_tydesc(&data.first, arena);
|
||||
shape::type_param::from_tydesc_and_data(data.first, dp, arena);
|
||||
shape::log log(task, true, data.first->shape, params,
|
||||
data.first->shape_tables,
|
||||
reinterpret_cast<uint8_t *>(data.second), std::cerr);
|
||||
data.first->shape_tables, dp, std::cerr);
|
||||
log.walk();
|
||||
std::cerr << "\n";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue