remove unused method

This commit is contained in:
Oliver Schneider
2016-06-10 16:20:25 +02:00
parent 6af821f202
commit 4fa328ef5f
-5
View File
@@ -1284,11 +1284,6 @@ fn frame(&self) -> &Frame<'a, 'tcx> {
self.stack.last().expect("no call frames exist")
}
fn basic_block(&self) -> &mir::BasicBlockData<'tcx> {
let frame = self.frame();
frame.mir.basic_block_data(frame.next_block)
}
fn frame_mut(&mut self) -> &mut Frame<'a, 'tcx> {
self.stack.last_mut().expect("no call frames exist")
}