mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-27 13:10:37 +00:00
Remove a redundant check before visit(succ).
This commit is contained in:
parent
57bbde4a99
commit
a7e734962e
@ -84,8 +84,7 @@ class ReadableOrderTraverser {
|
||||
block->getParent().getParent().getInstruction(mergeId)->getBlock();
|
||||
delayed_[mergeBlock] = true;
|
||||
}
|
||||
for (const auto succ : block->getSuccessors())
|
||||
if (succ != mergeBlock) visit(succ);
|
||||
for (const auto succ : block->getSuccessors()) visit(succ);
|
||||
if (mergeBlock) {
|
||||
delayed_[mergeBlock] = false;
|
||||
visit(mergeBlock);
|
||||
|
Loading…
Reference in New Issue
Block a user