Skip to content

Commit e782519

Browse files
committed
---
yaml --- r: 69103 b: refs/heads/auto c: 0d04aa7 h: refs/heads/master i: 69101: 42128f2 69099: 1696375 69095: bdb2573 69087: 8a32483 v: v3
1 parent f8aafa6 commit e782519

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+881
-2785
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: b52eb4a0ffbb5be156a0d71dc37f74c3f92e315e
17+
refs/heads/auto: 0d04aa78e5e8a7e3c48141028137c1a69e7e32ee
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/configure

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -921,9 +921,6 @@ do
921921
esac
922922
need_ok "LLVM configure failed"
923923

924-
# Hack the tools Makefile to turn off the clang build
925-
sed -i 's/clang//g' tools/Makefile
926-
927924
cd $CFG_BUILD_DIR
928925
fi
929926

branches/auto/src/librustc/lib/llvm.rs

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1635,14 +1635,6 @@ pub mod llvm {
16351635
#[fast_ffi]
16361636
pub unsafe fn LLVMABIAlignmentOfType(TD: TargetDataRef,
16371637
Ty: TypeRef) -> c_uint;
1638-
1639-
/** Computes the byte offset of the indexed struct element for a target. */
1640-
#[fast_ffi]
1641-
pub unsafe fn LLVMOffsetOfElement(TD: TargetDataRef,
1642-
StructTy: TypeRef,
1643-
Element: c_uint)
1644-
-> c_ulonglong;
1645-
16461638
/**
16471639
* Returns the minimum alignment of a type when part of a call frame.
16481640
*/
@@ -2097,37 +2089,6 @@ pub mod llvm {
20972089
Val: ValueRef,
20982090
VarInfo: DIVariable,
20992091
InsertBefore: ValueRef) -> ValueRef;
2100-
2101-
#[fast_ffi]
2102-
pub unsafe fn LLVMDIBuilderCreateEnumerator(
2103-
Builder: DIBuilderRef,
2104-
Name: *c_char,
2105-
Val: c_ulonglong) -> ValueRef;
2106-
2107-
#[fast_ffi]
2108-
pub unsafe fn LLVMDIBuilderCreateEnumerationType(
2109-
Builder: DIBuilderRef,
2110-
Scope: ValueRef,
2111-
Name: *c_char,
2112-
File: ValueRef,
2113-
LineNumber: c_uint,
2114-
SizeInBits: c_ulonglong,
2115-
AlignInBits: c_ulonglong,
2116-
Elements: ValueRef,
2117-
ClassType: ValueRef) -> ValueRef;
2118-
2119-
#[fast_ffi]
2120-
pub unsafe fn LLVMDIBuilderCreateUnionType(
2121-
Builder: DIBuilderRef,
2122-
Scope: ValueRef,
2123-
Name: *c_char,
2124-
File: ValueRef,
2125-
LineNumber: c_uint,
2126-
SizeInBits: c_ulonglong,
2127-
AlignInBits: c_ulonglong,
2128-
Flags: c_uint ,
2129-
Elements: ValueRef,
2130-
RunTimeLang: c_uint) -> ValueRef;
21312092
}
21322093
}
21332094

branches/auto/src/librustc/metadata/csearch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ pub fn maybe_get_item_ast(tcx: ty::ctxt, def: ast::def_id,
9090
}
9191

9292
pub fn get_enum_variants(tcx: ty::ctxt, def: ast::def_id)
93-
-> ~[@ty::VariantInfo] {
93+
-> ~[ty::VariantInfo] {
9494
let cstore = tcx.cstore;
9595
let cdata = cstore::get_crate_data(cstore, def.crate);
9696
return decoder::get_enum_variants(cstore.intr, cdata, def.node, tcx)

branches/auto/src/librustc/metadata/decoder.rs

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -733,11 +733,11 @@ pub fn maybe_get_item_ast(cdata: cmd, tcx: ty::ctxt,
733733
}
734734

735735
pub fn get_enum_variants(intr: @ident_interner, cdata: cmd, id: ast::node_id,
736-
tcx: ty::ctxt) -> ~[@ty::VariantInfo] {
736+
tcx: ty::ctxt) -> ~[ty::VariantInfo] {
737737
let data = cdata.data;
738738
let items = reader::get_doc(reader::Doc(data), tag_items);
739739
let item = find_item(id, items);
740-
let mut infos: ~[@ty::VariantInfo] = ~[];
740+
let mut infos: ~[ty::VariantInfo] = ~[];
741741
let variant_ids = enum_variant_ids(item, cdata);
742742
let mut disr_val = 0;
743743
for variant_ids.iter().advance |did| {
@@ -753,16 +753,11 @@ pub fn get_enum_variants(intr: @ident_interner, cdata: cmd, id: ast::node_id,
753753
Some(val) => { disr_val = val; }
754754
_ => { /* empty */ }
755755
}
756-
infos.push(@ty::VariantInfo{
757-
args: arg_tys,
758-
arg_names: None,
759-
ctor_ty: ctor_ty,
760-
name: name,
761-
// I'm not even sure if we encode visibility
762-
// for variants -- TEST -- tjc
763-
id: *did,
764-
disr_val: disr_val,
765-
vis: ast::inherited});
756+
infos.push(@ty::VariantInfo_{args: arg_tys,
757+
ctor_ty: ctor_ty, name: name,
758+
// I'm not even sure if we encode visibility
759+
// for variants -- TEST -- tjc
760+
id: *did, disr_val: disr_val, vis: ast::inherited});
766761
disr_val += 1;
767762
}
768763
return infos;

0 commit comments

Comments
 (0)