Skip to content

Commit f9dd12a

Browse files
committed
---
yaml --- r: 150516 b: refs/heads/try2 c: 53b70a8 h: refs/heads/master v: v3
1 parent 8ea2316 commit f9dd12a

File tree

2 files changed

+1
-31
lines changed

2 files changed

+1
-31
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 4bc2c3b2b4c9176840a7dd99303778e4b40fd01a
8+
refs/heads/try2: 53b70a83c6931d2d22c99e2aecbc2ac89076123b
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/librustc/middle/trans/tvec.rs

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,6 @@ pub fn get_fill(bcx: &Block, vptr: ValueRef) -> ValueRef {
5555
Load(bcx, GEPi(bcx, vptr, [0u, abi::vec_elt_fill]))
5656
}
5757

58-
pub fn set_fill(bcx: &Block, vptr: ValueRef, fill: ValueRef) {
59-
Store(bcx, fill, GEPi(bcx, vptr, [0u, abi::vec_elt_fill]));
60-
}
61-
62-
pub fn get_alloc(bcx: &Block, vptr: ValueRef) -> ValueRef {
63-
Load(bcx, GEPi(bcx, vptr, [0u, abi::vec_elt_alloc]))
64-
}
65-
6658
pub fn get_dataptr(bcx: &Block, vptr: ValueRef) -> ValueRef {
6759
let _icx = push_ctxt("tvec::get_dataptr");
6860
GEPi(bcx, vptr, [0u, abi::vec_elt_elems, 0u])
@@ -102,15 +94,6 @@ pub fn alloc_raw<'a>(
10294
}
10395
}
10496

105-
pub fn alloc_uniq_raw<'a>(
106-
bcx: &'a Block<'a>,
107-
unit_ty: ty::t,
108-
fill: ValueRef,
109-
alloc: ValueRef)
110-
-> Result<'a> {
111-
alloc_raw(bcx, unit_ty, fill, alloc, heap_exchange)
112-
}
113-
11497
pub fn alloc_uniq_vec<'a>(
11598
bcx: &'a Block<'a>,
11699
unit_ty: ty::t,
@@ -693,19 +676,6 @@ pub fn iter_vec_raw<'r,
693676
}
694677
}
695678

696-
pub fn iter_vec_uniq<'r,
697-
'b>(
698-
bcx: &'b Block<'b>,
699-
vptr: ValueRef,
700-
vec_ty: ty::t,
701-
fill: ValueRef,
702-
f: iter_vec_block<'r,'b>)
703-
-> &'b Block<'b> {
704-
let _icx = push_ctxt("tvec::iter_vec_uniq");
705-
let data_ptr = get_dataptr(bcx, vptr);
706-
iter_vec_raw(bcx, data_ptr, vec_ty, fill, f)
707-
}
708-
709679
pub fn iter_vec_unboxed<'r,
710680
'b>(
711681
bcx: &'b Block<'b>,

0 commit comments

Comments
 (0)