Change the body-fetching GEP in mark_ty to be dynamic. Our box may be parametric.
This commit is contained in:
parent
2a2ec67e6e
commit
2141154c85
@ -2815,7 +2815,7 @@ let trans_visitor
|
||||
(* Iterate over box parts marking outgoing links. *)
|
||||
let (body_mem, _) =
|
||||
need_mem_cell
|
||||
(get_element_ptr (deref cell)
|
||||
(get_element_ptr_dyn ty_params (deref cell)
|
||||
Abi.box_gc_field_body)
|
||||
in
|
||||
let ty = maybe_iso curr_iso ty in
|
||||
|
Loading…
x
Reference in New Issue
Block a user