aboutsummaryrefslogtreecommitdiff
path: root/src/boot/me/semant.ml
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-06-24 16:19:55 -0700
committerGraydon Hoare <[email protected]>2010-06-24 16:19:55 -0700
commit24d5ff75c3abfe7b327c48468ed9a39f0d8a0427 (patch)
tree605bded39c9bf42a2823f725c2690c4e9e9c91d7 /src/boot/me/semant.ml
parentA couple more ignorable files. (diff)
downloadrust-24d5ff75c3abfe7b327c48468ed9a39f0d8a0427.tar.xz
rust-24d5ff75c3abfe7b327c48468ed9a39f0d8a0427.zip
Fix output-slot handling for real. It's been broken for a long time.
Diffstat (limited to 'src/boot/me/semant.ml')
-rw-r--r--src/boot/me/semant.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/boot/me/semant.ml b/src/boot/me/semant.ml
index d33eb6d9..ddf14838 100644
--- a/src/boot/me/semant.ml
+++ b/src/boot/me/semant.ml
@@ -1792,16 +1792,16 @@ let word_slot (abi:Abi.abi) : Ast.slot =
interior_slot (Ast.TY_mach abi.Abi.abi_word_ty)
;;
-let read_alias_slot (ty:Ast.ty) : Ast.slot =
+let alias_slot (ty:Ast.ty) : Ast.slot =
{ Ast.slot_mode = Ast.MODE_alias;
Ast.slot_mutable = false;
Ast.slot_ty = Some ty }
;;
-let word_write_alias_slot (abi:Abi.abi) : Ast.slot =
+let mutable_alias_slot (ty:Ast.ty) : Ast.slot =
{ Ast.slot_mode = Ast.MODE_alias;
Ast.slot_mutable = true;
- Ast.slot_ty = Some (Ast.TY_mach abi.Abi.abi_word_ty) }
+ Ast.slot_ty = Some ty }
;;
let mk_ty_fn_or_iter