Skip to content

Commit 8b10246

Browse files
committed
---
yaml --- r: 3019 b: refs/heads/master c: 7a066ba h: refs/heads/master i: 3017: 04923ab 3015: 9ac523d v: v3
1 parent f0c87ef commit 8b10246

File tree

2 files changed

+1
-28
lines changed

2 files changed

+1
-28
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 1dbf3e8477f4959c390bda59824d37836d53a1d7
2+
refs/heads/master: 7a066ba547ab900d22fd435652fd9106ba180dfa

trunk/src/comp/middle/trans.rs

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8255,39 +8255,12 @@ fn vec_fill(&@block_ctxt bcx, ValueRef v) -> ValueRef {
82558255
C_int(abi::vec_elt_fill)]));
82568256
}
82578257

8258-
fn put_vec_fill(&@block_ctxt bcx, ValueRef v, ValueRef fill) -> ValueRef {
8259-
ret bcx.build.Store(fill,
8260-
bcx.build.GEP(v,
8261-
[C_int(0),
8262-
C_int(abi::vec_elt_fill)]));
8263-
}
8264-
8265-
fn vec_fill_adjusted(&@block_ctxt bcx, ValueRef v,
8266-
ValueRef skipnull) -> ValueRef {
8267-
auto f = bcx.build.Load(bcx.build.GEP(v,
8268-
[C_int(0),
8269-
C_int(abi::vec_elt_fill)]));
8270-
ret bcx.build.Select(skipnull, bcx.build.Sub(f, C_int(1)), f);
8271-
}
8272-
82738258
fn vec_p0(&@block_ctxt bcx, ValueRef v) -> ValueRef {
82748259
auto p = bcx.build.GEP(v, [C_int(0),
82758260
C_int(abi::vec_elt_data)]);
82768261
ret bcx.build.PointerCast(p, T_ptr(T_i8()));
82778262
}
82788263

8279-
8280-
fn vec_p1(&@block_ctxt bcx, ValueRef v) -> ValueRef {
8281-
auto len = vec_fill(bcx, v);
8282-
ret bcx.build.GEP(vec_p0(bcx, v), [len]);
8283-
}
8284-
8285-
fn vec_p1_adjusted(&@block_ctxt bcx, ValueRef v,
8286-
ValueRef skipnull) -> ValueRef {
8287-
auto len = vec_fill_adjusted(bcx, v, skipnull);
8288-
ret bcx.build.GEP(vec_p0(bcx, v), [len]);
8289-
}
8290-
82918264
fn make_glues(ModuleRef llmod, &type_names tn) -> @glue_fns {
82928265
ret @rec(yield_glue = decl_glue(llmod, tn, abi::yield_glue_name()),
82938266
no_op_type_glue = decl_no_op_type_glue(llmod, tn),

0 commit comments

Comments
 (0)