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 dbfb5bd + d0808be commit ea04913Copy full SHA for ea04913
lib/Backend/SwitchIRBuilder.cpp
@@ -163,7 +163,7 @@ SwitchIRBuilder::BeginSwitch()
163
void
164
SwitchIRBuilder::EndSwitch(uint32 offset, uint32 targetOffset)
165
{
166
- FlushCases(targetOffset);
+ FlushCases(offset);
167
AssertMsg(m_caseNodes->Count() == 0, "Not all switch case nodes built by end of switch");
168
169
// only generate the final unconditional jump at the end of the switch
0 commit comments