Skip to content

Commit e33bb34

Browse files
committed
dbg
1 parent de6a468 commit e33bb34

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/librustc/dep_graph/graph.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,6 +1141,17 @@ pub struct RegularOpenTask {
11411141
read_set: FxHashSet<DepNodeIndex>,
11421142
}
11431143

1144+
// FIXME: Remove
1145+
#[no_mangle]
1146+
pub fn test1(a: &mut SmallVec<[DepNodeIndex; 8]>) {
1147+
a.push(DepNodeIndex::new(8));
1148+
}
1149+
1150+
#[no_mangle]
1151+
pub fn test2(a: &mut DepGraph, dep_node_index: DepNodeIndex) {
1152+
a.read_index(dep_node_index)
1153+
}
1154+
11441155
pub struct AnonOpenTask {
11451156
reads: SmallVec<[DepNodeIndex; 8]>,
11461157
read_set: FxHashSet<DepNodeIndex>,

0 commit comments

Comments
 (0)