Skip to content

Commit 2d57ce4

Browse files
pcwaltonemberian
authored andcommitted
---
yaml --- r: 68450 b: refs/heads/auto c: e015bee h: refs/heads/master v: v3
1 parent 2dd6293 commit 2d57ce4

File tree

18 files changed

+575
-361
lines changed

18 files changed

+575
-361
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: 89eb9951958dc2cd652645cea5badf4bb9edc6f9
17+
refs/heads/auto: e015bee2866a802f17c84bd6d3a06212945a9d17
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/src/libextra/sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ impl Sem<~[Waitqueue]> {
381381
// The only other places that condvars get built are rwlock.write_cond()
382382
// and rwlock_write_mode.
383383
pub fn access_cond<U>(&self, blk: &fn(c: &Condvar) -> U) -> U {
384-
do self.access {
384+
do self.access_waitqueue {
385385
blk(&Condvar { sem: self, order: Nothing })
386386
}
387387
}

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ pub static tag_item_method_tps: uint = 0x7b;
176176
pub static tag_item_method_fty: uint = 0x7c;
177177
pub static tag_item_method_transformed_self_ty: uint = 0x7d;
178178

179+
pub static tag_mod_child: uint = 0x7e;
180+
pub static tag_misc_info: uint = 0x7f;
181+
pub static tag_misc_info_crate_items: uint = 0x80;
182+
179183
pub struct LinkMeta {
180184
name: @str,
181185
vers: @str,

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,14 @@ pub fn get_enum_variants(tcx: ty::ctxt, def: ast::def_id)
9797
return decoder::get_enum_variants(cstore.intr, cdata, def.node, tcx)
9898
}
9999

100-
pub fn get_impls_for_mod(cstore: @mut cstore::CStore, def: ast::def_id,
101-
name: Option<ast::ident>)
102-
-> @~[@resolve::Impl] {
103-
let cdata = cstore::get_crate_data(cstore, def.crate);
104-
do decoder::get_impls_for_mod(cstore.intr, cdata, def.node, name) |cnum| {
105-
cstore::get_crate_data(cstore, cnum)
106-
}
100+
/// Returns information about the given implementation.
101+
pub fn get_impl(cstore: @mut cstore::CStore, impl_def_id: ast::def_id)
102+
-> resolve::Impl {
103+
let cdata = cstore::get_crate_data(cstore, impl_def_id.crate);
104+
decoder::get_impl(cstore.intr, cdata, impl_def_id.node)
107105
}
108106

109-
pub fn get_method(tcx: ty::ctxt,
110-
def: ast::def_id) -> ty::Method
111-
{
107+
pub fn get_method(tcx: ty::ctxt, def: ast::def_id) -> ty::Method {
112108
let cdata = cstore::get_crate_data(tcx.cstore, def.crate);
113109
decoder::get_method(tcx.cstore.intr, cdata, def.node, tcx)
114110
}

0 commit comments

Comments
 (0)