Skip to content

Commit fe75489

Browse files
committed
---
yaml --- r: 58025 b: refs/heads/incoming c: dc5df61 h: refs/heads/master i: 58023: 7456248 v: v3
1 parent 63cf2b1 commit fe75489

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
@@ -6,7 +6,7 @@ refs/heads/try: bf67eb2362b7d0f37012f2d6dac604c3bbacd2c6
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/incoming: 79a2b2eafc3c766cecec8a5f76317693bae9ed17
9+
refs/heads/incoming: dc5df61bc1914224d50d92cdd5599b6337ac68f2
1010
refs/heads/dist-snap: 00dbbd01c2aee72982b3e0f9511ae1d4428c3ba9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/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/incoming/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/incoming/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)