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/me/layout.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/me/layout.ml')
| -rw-r--r-- | src/boot/me/layout.ml | 2 |
1 files changed, 1 insertions, 1 deletions
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" |