From 348e434cee42cc2be0a4f5a6e6df8709d3490ff5 Mon Sep 17 00:00:00 2001 From: Roy Frostig Date: Fri, 16 Jul 2010 11:17:25 -0700 Subject: 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. --- src/boot/llvm/lltrans.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/boot/llvm') 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) -- cgit v1.2.3