diff options
| author | Roy Frostig <[email protected]> | 2010-07-19 11:47:46 -0700 |
|---|---|---|
| committer | Roy Frostig <[email protected]> | 2010-07-19 11:47:46 -0700 |
| commit | 2141154c85c34cc1d4a508463b05d7ba5a6b490d (patch) | |
| tree | 50a6c0563d079e5992fc34e9286949353a78bb61 /src | |
| parent | Fix opeq.rs for LLVM by implementing simple augmented-assignment operators. (diff) | |
| download | rust-2141154c85c34cc1d4a508463b05d7ba5a6b490d.tar.xz rust-2141154c85c34cc1d4a508463b05d7ba5a6b490d.zip | |
Change the body-fetching GEP in mark_ty to be dynamic. Our box may be parametric.
Diffstat (limited to 'src')
| -rw-r--r-- | src/boot/me/trans.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/me/trans.ml b/src/boot/me/trans.ml index d3413beb..6f496775 100644 --- a/src/boot/me/trans.ml +++ b/src/boot/me/trans.ml @@ -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 |