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/me/layout.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/boot/me/layout.ml') diff --git a/src/boot/me/layout.ml b/src/boot/me/layout.ml index e1a7ff47..49aa1340 100644 --- a/src/boot/me/layout.ml +++ b/src/boot/me/layout.ml @@ -222,7 +222,7 @@ let layout_visitor let offset = let word_sz = cx.ctxt_abi.Abi.abi_word_sz in let word_n (n:int) = Int64.mul word_sz (Int64.of_int n) in - SIZE_fixed (word_n (Abi.box_rc_slot_field_body + SIZE_fixed (word_n (Abi.box_rc_field_body + 1 (* the state tydesc. *))) in log cx "laying out object-state for node #%d at offset %s" -- cgit v1.2.3