Skip to content

Commit 4e5409b

Browse files
committed
middle: dataflow: remove dead code
1 parent d03e647 commit 4e5409b

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

src/librustc/middle/dataflow.rs

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -246,31 +246,6 @@ impl<'a, O:DataFlowOperator> DataFlowContext<'a, O> {
246246
self.each_bit(on_entry, f)
247247
}
248248

249-
pub fn each_bit_on_entry(&mut self,
250-
id: ast::NodeId,
251-
f: |uint| -> bool)
252-
-> bool {
253-
//! Iterates through each bit that is set on entry to `id`.
254-
//! Only useful after `propagate()` has been called.
255-
256-
let (start, end) = self.compute_id_range(id);
257-
let on_entry = self.on_entry.slice(start, end);
258-
debug!("each_bit_on_entry(id={:?}, on_entry={})",
259-
id, bits_to_str(on_entry));
260-
self.each_bit(on_entry, f)
261-
}
262-
263-
pub fn each_gen_bit(&mut self, id: ast::NodeId, f: |uint| -> bool)
264-
-> bool {
265-
//! Iterates through each bit in the gen set for `id`.
266-
267-
let (start, end) = self.compute_id_range(id);
268-
let gens = self.gens.slice(start, end);
269-
debug!("each_gen_bit(id={:?}, gens={})",
270-
id, bits_to_str(gens));
271-
self.each_bit(gens, f)
272-
}
273-
274249
pub fn each_gen_bit_frozen(&self, id: ast::NodeId, f: |uint| -> bool)
275250
-> bool {
276251
//! Iterates through each bit in the gen set for `id`.

0 commit comments

Comments
 (0)