We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2061640 + 6ce2a6f commit d0344e5Copy full SHA for d0344e5
lib/SIL/IR/SILBasicBlock.cpp
@@ -441,7 +441,7 @@ bool SILBasicBlock::hasPhi() const {
441
442
const SILDebugScope *SILBasicBlock::getScopeOfFirstNonMetaInstruction() {
443
for (auto &Inst : *this)
444
- if (Inst.isMetaInstruction())
+ if (!Inst.isMetaInstruction())
445
return Inst.getDebugScope();
446
return begin()->getDebugScope();
447
}
0 commit comments