Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pleath committed Oct 7, 2019
1 parent a4e5654 commit 9418150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Backend/GlobOpt.cpp
Expand Up @@ -3603,7 +3603,7 @@ GlobOpt::OptSrc(IR::Opnd *opnd, IR::Instr * *pInstr, Value **indirIndexValRef, I

opnd->SetValueType(valueType);

if(!IsLoopPrePass() && opnd->IsSymOpnd() && valueType.IsDefinite())
if(!IsLoopPrePass() && opnd->IsSymOpnd() && (valueType.IsDefinite() || valueType.IsNotTaggedValue()))
{
if (opnd->AsSymOpnd()->m_sym->IsPropertySym())
{
Expand Down

0 comments on commit 9418150

Please sign in to comment.