Skip to content

Commit 50f6f2a

Browse files
committed
---
yaml --- r: 56670 b: refs/heads/auto c: dc5df61 h: refs/heads/master v: v3
1 parent ee7c93c commit 50f6f2a

File tree

26 files changed

+5490
-677
lines changed

26 files changed

+5490
-677
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: 79a2b2eafc3c766cecec8a5f76317693bae9ed17
17+
refs/heads/auto: dc5df61bc1914224d50d92cdd5599b6337ac68f2
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/src/librustc/back/abi.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,6 @@ pub static n_tydesc_fields: uint = 8u;
5757
pub static fn_field_code: uint = 0u;
5858
pub static fn_field_box: uint = 1u;
5959

60-
// The three fields of a trait object/trait instance: vtable, box, and type
61-
// description.
62-
pub static trt_field_vtable: uint = 0u;
63-
pub static trt_field_box: uint = 1u;
64-
// This field is only present in unique trait objects, so it comes last.
65-
pub static trt_field_tydesc: uint = 2u;
66-
6760
pub static vec_elt_fill: uint = 0u;
6861

6962
pub static vec_elt_alloc: uint = 1u;

branches/auto/src/librustc/driver/driver.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ pub fn build_session_options(binary: @~str,
653653
654654
let linker_args = getopts::opt_strs(matches, ~"link-args").flat_map( |a| {
655655
let mut args = ~[];
656-
for str::each_split_char(*a, ' ') |arg| {
656+
for str::each_split_char(*a, ',') |arg| {
657657
args.push(str::from_slice(arg));
658658
}
659659
args
@@ -760,7 +760,7 @@ pub fn optgroups() -> ~[getopts::groups::OptGroup] {
760760
optmulti("L", "", "Add a directory to the library search path",
761761
"PATH"),
762762
optflag("", "lib", "Compile a library crate"),
763-
optmulti("", "link-args", "FLAGS is a space-separated list of flags
763+
optmulti("", "link-args", "FLAGS is a comma-separated list of flags
764764
passed to the linker", "FLAGS"),
765765
optflag("", "ls", "List the symbols defined by a library crate"),
766766
optflag("", "no-trans",

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,21 @@ fn item_ty_param_defs(item: ebml::Doc, tcx: ty::ctxt, cdata: cmd,
272272
@bounds
273273
}
274274
275+
#[cfg(stage0)]
275276
fn item_ty_region_param(item: ebml::Doc) -> Option<ty::region_variance> {
276277
reader::maybe_get_doc(item, tag_region_param).map(|doc| {
277278
Decodable::decode(&reader::Decoder(*doc))
278279
})
279280
}
280281
282+
#[cfg(not(stage0))]
283+
fn item_ty_region_param(item: ebml::Doc) -> Option<ty::region_variance> {
284+
reader::maybe_get_doc(item, tag_region_param).map(|doc| {
285+
let mut decoder = reader::Decoder(*doc);
286+
Decodable::decode(&mut decoder)
287+
})
288+
}
289+
281290
fn item_ty_param_count(item: ebml::Doc) -> uint {
282291
let mut n = 0u;
283292
reader::tagged_docs(item, tag_items_data_item_ty_param_bounds,

0 commit comments

Comments
 (0)