Skip to content

Commit

Permalink
remove constexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalspathak committed May 23, 2024
1 parent dc5ad92 commit e67ca1a
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/coreclr/jit/regset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,8 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
*/

#ifdef SWIFT_SUPPORT
regMaskTP rsAllCalleeSavedMask;
regMaskTP rsIntCalleeSavedMask;
#else // !SWIFT_SUPPORT
static constexpr regMaskTP rsAllCalleeSavedMask = RBM_CALLEE_SAVED;
static constexpr regMaskTP rsIntCalleeSavedMask = RBM_INT_CALLEE_SAVED;
#endif // !SWIFT_SUPPORT
regMaskTP rsAllCalleeSavedMask = RBM_CALLEE_SAVED;
regMaskTP rsIntCalleeSavedMask = RBM_INT_CALLEE_SAVED;

regMaskTP RegSet::rsGetModifiedCalleeSavedRegsMask() const
{
Expand Down Expand Up @@ -296,11 +291,6 @@ RegSet::RegSet(Compiler* compiler, GCInfo& gcInfo)
rsMaskPreSpillAlign = RBM_NONE;
#endif

#ifdef SWIFT_SUPPORT
rsAllCalleeSavedMask = RBM_CALLEE_SAVED;
rsIntCalleeSavedMask = RBM_INT_CALLEE_SAVED;
#endif // SWIFT_SUPPORT

#ifdef DEBUG
rsModifiedRegsMaskInitialized = false;
#endif // DEBUG
Expand Down

0 comments on commit e67ca1a

Please sign in to comment.