diff options
| author | Roy Frostig <[email protected]> | 2010-07-16 11:17:25 -0700 |
|---|---|---|
| committer | Roy Frostig <[email protected]> | 2010-07-16 11:17:25 -0700 |
| commit | 348e434cee42cc2be0a4f5a6e6df8709d3490ff5 (patch) | |
| tree | c85dc5a5a139ca3950d93b160de42a71f41e0a40 /src/boot/llvm/lltrans.ml | |
| parent | Merge branch 'contrib' (diff) | |
| download | rust-348e434cee42cc2be0a4f5a6e6df8709d3490ff5.tar.xz rust-348e434cee42cc2be0a4f5a6e6df8709d3490ff5.zip | |
Clean up nomenclature in the Abi constants brigade. Purge magic GEP numbers in trans. Adjust obj_closure_rty (and its consumers) to be more explicit about the fact that it is a box.
Diffstat (limited to 'src/boot/llvm/lltrans.ml')
| -rw-r--r-- | src/boot/llvm/lltrans.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/llvm/lltrans.ml b/src/boot/llvm/lltrans.ml index 1f268fa1..0b780e5e 100644 --- a/src/boot/llvm/lltrans.ml +++ b/src/boot/llvm/lltrans.ml @@ -453,7 +453,7 @@ let trans_crate llbuilder := if_ptr_in_slot_not_null (decr_refcnt_and_if_zero - Abi.box_rc_slot_field_refcnt + Abi.box_rc_field_refcnt free_and_null_out_slot) (!llbuilder) @@ -461,7 +461,7 @@ let trans_crate llbuilder := if_ptr_in_slot_not_null (decr_refcnt_and_if_zero - Abi.box_rc_slot_field_refcnt + Abi.box_rc_field_refcnt free_and_null_out_slot) (!llbuilder) |