diff options
| author | Graydon Hoare <[email protected]> | 2010-07-01 10:44:27 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-01 10:44:27 -0700 |
| commit | a7016ade65b4870e6b270dee3affa640b72c8a29 (patch) | |
| tree | 89dc8ffe497e300ff7f9c74ed0db638ac09c1451 /src/boot/me/layout.ml | |
| parent | Add STMT_init_box to typestate pass. (diff) | |
| download | rust-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.ml | 2 |
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 |