Skip to content

Commit e5a2847

Browse files
committed
MandatoryCombine: fix an uninitialized variable
1 parent f5dd887 commit e5a2847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILOptimizer/Mandatory/MandatoryCombine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class MandatoryCombiner final
7272

7373
/// Set to true if some alloc/dealloc_stack instruction are inserted and at
7474
/// the end of the run stack nesting needs to be corrected.
75-
bool invalidatedStackNesting;
75+
bool invalidatedStackNesting = false;
7676

7777
/// The number of times that the worklist has been processed.
7878
unsigned iteration;

0 commit comments

Comments
 (0)