File tree 1 file changed +2
-1
lines changed
compiler/rustc_mir_dataflow/src
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ use std::fmt::{Debug, Formatter};
37
37
use std:: ops:: Range ;
38
38
39
39
use rustc_data_structures:: fx:: FxHashMap ;
40
+ use rustc_data_structures:: stack:: ensure_sufficient_stack;
40
41
use rustc_index:: bit_set:: BitSet ;
41
42
use rustc_index:: { IndexSlice , IndexVec } ;
42
43
use rustc_middle:: mir:: visit:: { MutatingUseContext , PlaceContext , Visitor } ;
@@ -774,7 +775,7 @@ impl Map {
774
775
// We manually iterate instead of using `children` as we need to mutate `self`.
775
776
let mut next_child = self . places [ root] . first_child ;
776
777
while let Some ( child) = next_child {
777
- self . cache_preorder_invoke ( child) ;
778
+ ensure_sufficient_stack ( || self . cache_preorder_invoke ( child) ) ;
778
779
next_child = self . places [ child] . next_sibling ;
779
780
}
780
781
You can’t perform that action at this time.
0 commit comments