diff options
| author | Patrick Walton <[email protected]> | 2010-07-15 15:20:04 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-07-15 15:20:04 -0700 |
| commit | 0b675a021a73a3dfa09079790a50302aeb6d1616 (patch) | |
| tree | 9bea8d18f02105844d05170450238ad19a7a0666 /src/boot/llvm | |
| parent | Correct the way we get typarams when dropping an obj type in drop_ty by using... (diff) | |
| download | rust-0b675a021a73a3dfa09079790a50302aeb6d1616.tar.xz rust-0b675a021a73a3dfa09079790a50302aeb6d1616.zip | |
Make mutability no longer a type constructor
Diffstat (limited to 'src/boot/llvm')
| -rw-r--r-- | src/boot/llvm/lltrans.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/boot/llvm/lltrans.ml b/src/boot/llvm/lltrans.ml index a7daa371..1f268fa1 100644 --- a/src/boot/llvm/lltrans.ml +++ b/src/boot/llvm/lltrans.ml @@ -761,10 +761,10 @@ let trans_crate let trans_tail () = trans_tail_with_builder llbuilder in match head.node with - Ast.STMT_init_tup (dest, atoms) -> + Ast.STMT_init_tup (dest, elems) -> let zero = const_i32 0 in let lldest = trans_lval dest in - let trans_tup_atom idx atom = + let trans_tup_elem idx (_, atom) = let indices = [| zero; const_i32 idx |] in let gep_id = anon_llid "init_tup_gep" in let ptr = @@ -772,7 +772,7 @@ let trans_crate in ignore (Llvm.build_store (trans_atom atom) ptr llbuilder) in - Array.iteri trans_tup_atom atoms; + Array.iteri trans_tup_elem elems; trans_tail () | Ast.STMT_copy (dest, src) -> |