File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -131,15 +131,17 @@ struct BlockFlags {
131131 bool StrongNoFrameOnEntry : 1 ;
132132 bool HasFrameOnEntry : 1 ;
133133 bool HasFrameOnExit : 1 ;
134+ BlockFlags ()
135+ : Reachable(false ), StrongNoFrameOnEntry(false ), HasFrameOnEntry(false ),
136+ HasFrameOnExit (false ) {}
134137};
135138
136139// Computes the frame information for each block in the function. Frame info
137140// for a block is inferred from its predecessors.
138141static SmallVector<BlockFlags>
139142computeBlockInfo (const MachineFunction &MF,
140143 const MachineBasicBlock *PrologueBlock) {
141- SmallVector<BlockFlags, 32 > BlockInfo (MF.getNumBlockIDs (),
142- {false , false , false , false });
144+ SmallVector<BlockFlags, 32 > BlockInfo (MF.getNumBlockIDs ());
143145 BlockInfo[0 ].Reachable = true ;
144146 BlockInfo[0 ].StrongNoFrameOnEntry = true ;
145147
You can’t perform that action at this time.
0 commit comments