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.
1 parent ccef872 commit cfd312aCopy full SHA for cfd312a
lib/Backend/Inline.cpp
@@ -2215,7 +2215,7 @@ Inline::InlineBuiltInFunction(
2215
StackSym * sym = argInstr->GetSrc1()->GetStackSym();
2216
if (!sym->m_isSingleDef || !sym->m_instrDef->GetSrc1() || !sym->m_instrDef->GetSrc1()->IsConstOpnd())
2217
{
2218
- if (!sym->IsFromByteCodeConstantTable())
+ if (!sym->IsFromByteCodeConstantTable() && sym->GetByteCodeRegSlot() != callInstrDst->GetStackSym()->GetByteCodeRegSlot())
2219
2220
byteCodeUsesInstr->Set(argInstr->GetSrc1());
2221
}
0 commit comments