aboutsummaryrefslogtreecommitdiff
path: root/src/boot/llvm
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-07-23 11:37:38 -0700
committerGraydon Hoare <[email protected]>2010-07-23 11:37:38 -0700
commit4d4fa99b314c78ff50f744beace5f2b62b211df1 (patch)
tree5cd953a82b72003701b7414967d99af18a631dc6 /src/boot/llvm
parentNotify copy glue of dst-initialization and fix _vec.alloc issues in lib and r... (diff)
downloadrust-4d4fa99b314c78ff50f744beace5f2b62b211df1.tar.xz
rust-4d4fa99b314c78ff50f744beace5f2b62b211df1.zip
Rename STMT_init_* to STMT_new_*; former name was confusing.
Diffstat (limited to 'src/boot/llvm')
-rw-r--r--src/boot/llvm/lltrans.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/llvm/lltrans.ml b/src/boot/llvm/lltrans.ml
index cf75e5c5..b9aab377 100644
--- a/src/boot/llvm/lltrans.ml
+++ b/src/boot/llvm/lltrans.ml
@@ -925,7 +925,7 @@ let trans_crate
set_debug_loc head.id;
match head.node with
- Ast.STMT_init_tup (dest, elems) ->
+ Ast.STMT_new_tup (dest, elems) ->
let zero = const_i32 0 in
let (lldest, _) = trans_lval dest in
let trans_tup_elem idx (_, atom) =
@@ -1025,7 +1025,7 @@ let trans_crate
ignore (Llvm.build_cond_br llexpr llok llfail llbuilder);
trans_tail_with_builder llokbuilder
- | Ast.STMT_init_str (dst, str) ->
+ | Ast.STMT_new_str (dst, str) ->
let (d, _) = trans_lval dst in
let s = static_str str in
let len =