aboutsummaryrefslogtreecommitdiff
path: root/src/boot/be
diff options
context:
space:
mode:
authorRoy Frostig <[email protected]>2010-07-15 16:54:38 -0700
committerRoy Frostig <[email protected]>2010-07-15 16:54:38 -0700
commitd2b845d29ca9f36f21967ad1b4829b84ef4aa808 (patch)
treebee398d14765d43f9a2a6e6aa81e813f4a870de0 /src/boot/be
parentMake mutability no longer a type constructor (diff)
downloadrust-d2b845d29ca9f36f21967ad1b4829b84ef4aa808.tar.xz
rust-d2b845d29ca9f36f21967ad1b4829b84ef4aa808.zip
Define (in Abi) and use named constants for indices of elements of an obj IL referent type.
Diffstat (limited to 'src/boot/be')
-rw-r--r--src/boot/be/abi.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/boot/be/abi.ml b/src/boot/be/abi.ml
index bd71229d..f4c30e74 100644
--- a/src/boot/be/abi.ml
+++ b/src/boot/be/abi.ml
@@ -49,6 +49,10 @@ let binding_size = 2;;
let binding_field_item = 0;;
let binding_field_binding = 1;;
+let obj_elt_rc = 0;;
+let obj_elt_tydesc = 1;;
+let obj_elt_fields = 2;;
+
let general_code_alignment = 16;;
let tydesc_field_first_param = 0;;