forked from OSchip/llvm-project
[SafeStack,NFC] Remove unneded branch
This commit is contained in:
parent
7282da1ea8
commit
c6426e2657
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue