diff --git a/src/librustc/dep_graph/dep_node.rs b/src/librustc/dep_graph/dep_node.rs index c987a37c420..a2ff009a55d 100644 --- a/src/librustc/dep_graph/dep_node.rs +++ b/src/librustc/dep_graph/dep_node.rs @@ -80,7 +80,7 @@ macro_rules! define_dep_nodes { ($( $variant:ident $(( $($tuple_arg:tt),* ))* $({ $($struct_arg_name:ident : $struct_arg_ty:ty),* })* - ),* + ,)* ) => ( #[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, RustcEncodable, RustcDecodable)] @@ -421,7 +421,11 @@ define_dep_nodes!( IsExportedSymbol(DefId), IsMirAvailable(DefId), ItemAttrs(DefId), - FnArgNames(DefId) + FnArgNames(DefId), + DylibDepFormats(DefId), + IsAllocator(DefId), + IsPanicRuntime(DefId), + ExternCrate(DefId), ); trait DepNodeParams<'a, 'gcx: 'tcx + 'a, 'tcx: 'a> { diff --git a/src/librustc/ty/maps.rs b/src/librustc/ty/maps.rs index dccc0a8283a..524cf57472b 100644 --- a/src/librustc/ty/maps.rs +++ b/src/librustc/ty/maps.rs @@ -964,13 +964,13 @@ define_maps! { <'tcx> [] layout_raw: layout_dep_node(ty::ParamEnvAnd<'tcx, Ty<'tcx>>) -> Result<&'tcx Layout, LayoutError<'tcx>>, - [] dylib_dependency_formats: MetaData(DefId) + [] dylib_dependency_formats: DylibDepFormats(DefId) -> Rc>, - [] is_allocator: MetaData(DefId) -> bool, - [] is_panic_runtime: MetaData(DefId) -> bool, + [] is_allocator: IsAllocator(DefId) -> bool, + [] is_panic_runtime: IsPanicRuntime(DefId) -> bool, - [] extern_crate: MetaData(DefId) -> Rc>, + [] extern_crate: ExternCrate(DefId) -> Rc>, } fn type_param_predicates((item_id, param_id): (DefId, DefId)) -> DepConstructor {