Skip to content

Commit

Permalink
Fix an issue with GTF_CALL_M_EXP_RUNTIME_LOOKUP using gtCallMoreFlags…
Browse files Browse the repository at this point in the history
… instead of incorrectly using gtFlags. (#47788)
  • Loading branch information
briansull authored Feb 3, 2021
1 parent 4709b83 commit bb65067
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/coreclr/jit/gentree.h
Original file line number Diff line number Diff line change
Expand Up @@ -4506,17 +4506,17 @@ struct GenTreeCall final : public GenTree

void SetExpRuntimeLookup()
{
gtFlags |= GTF_CALL_M_EXP_RUNTIME_LOOKUP;
gtCallMoreFlags |= GTF_CALL_M_EXP_RUNTIME_LOOKUP;
}

void ClearExpRuntimeLookup()
{
gtFlags &= ~GTF_CALL_M_EXP_RUNTIME_LOOKUP;
gtCallMoreFlags &= ~GTF_CALL_M_EXP_RUNTIME_LOOKUP;
}

bool IsExpRuntimeLookup() const
{
return (gtFlags & GTF_CALL_M_EXP_RUNTIME_LOOKUP) != 0;
return (gtCallMoreFlags & GTF_CALL_M_EXP_RUNTIME_LOOKUP) != 0;
}

unsigned gtCallMoreFlags; // in addition to gtFlags
Expand Down

0 comments on commit bb65067

Please sign in to comment.