Skip to content

Commit 39ff9a2

Browse files
committed
---
yaml --- r: 119169 b: refs/heads/dist-snap c: 53b70a8 h: refs/heads/master i: 119167: 429ea0e v: v3
1 parent 3dd5ac8 commit 39ff9a2

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
@@ -6,7 +6,7 @@ refs/heads/try: 1813e5aa1a03b0596b8de7abd1af31edf5d6098f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: 4bc2c3b2b4c9176840a7dd99303778e4b40fd01a
9+
refs/heads/dist-snap: 53b70a83c6931d2d22c99e2aecbc2ac89076123b
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/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)