File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
compiler/rustc_mir_dataflow/src Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,6 @@ impl DenseLocationMap {
3030 v
3131 } )
3232 . collect ( ) ;
33- debug ! ( "DenseLocationMap: statements_before_block={:#?}" , statements_before_block) ;
34- debug ! ( "DenseLocationMap: num_points={:#?}" , num_points) ;
3533
3634 let mut basic_blocks = IndexVec :: with_capacity ( num_points) ;
3735 for ( bb, bb_data) in body. basic_blocks . iter_enumerated ( ) {
@@ -55,7 +53,7 @@ impl DenseLocationMap {
5553 PointIndex :: new ( start_index + statement_index)
5654 }
5755
58- /// Converts a `Location` into a `PointIndex `. O(1).
56+ /// Returns the `PointIndex` for the first statement in the given `BasicBlock `. O(1).
5957 #[ inline]
6058 pub fn entry_point ( & self , block : BasicBlock ) -> PointIndex {
6159 let start_index = self . statements_before_block [ block] ;
You can’t perform that action at this time.
0 commit comments