aboutsummaryrefslogtreecommitdiff
path: root/src/boot/me/layout.ml
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-07-01 10:44:27 -0700
committerGraydon Hoare <[email protected]>2010-07-01 10:44:27 -0700
commita7016ade65b4870e6b270dee3affa640b72c8a29 (patch)
tree89dc8ffe497e300ff7f9c74ed0db638ac09c1451 /src/boot/me/layout.ml
parentAdd STMT_init_box to typestate pass. (diff)
downloadrust-a7016ade65b4870e6b270dee3affa640b72c8a29.tar.xz
rust-a7016ade65b4870e6b270dee3affa640b72c8a29.zip
Implement STMT_init_box in trans, clean up some of the semant table-accessors.
Diffstat (limited to 'src/boot/me/layout.ml')
-rw-r--r--src/boot/me/layout.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/me/layout.ml b/src/boot/me/layout.ml
index 208dc470..365acbf9 100644
--- a/src/boot/me/layout.ml
+++ b/src/boot/me/layout.ml
@@ -140,7 +140,7 @@ let layout_visitor
(slots:node_id array)
: unit =
let accum (off,align) id : (size * size) =
- let slot = referent_to_slot cx id in
+ let slot = get_slot cx id in
let rt = slot_referent_type cx.ctxt_abi slot in
let (elt_size, elt_align) = rty_layout rt in
if vregs_ok