[SafeStack,NFC] Remove unneded branch

This commit is contained in:
Vitaly Buka 2020-06-14 21:28:34 -07:00
parent 7282da1ea8
commit c6426e2657
1 changed files with 2 additions and 4 deletions

View File

@ -116,12 +116,10 @@ void StackColoring::collectMarkers() {
InstructionNumbering[I] = InstNo++;
if (M.IsStart) {
if (BlockInfo.End.test(M.AllocaNo))
BlockInfo.End.reset(M.AllocaNo);
BlockInfo.End.reset(M.AllocaNo);
BlockInfo.Begin.set(M.AllocaNo);
} else {
if (BlockInfo.Begin.test(M.AllocaNo))
BlockInfo.Begin.reset(M.AllocaNo);
BlockInfo.Begin.reset(M.AllocaNo);
BlockInfo.End.set(M.AllocaNo);
}
};