Skip to content

Commit

Permalink
Fix build break on osx/arm64 Debug (#102631)
Browse files Browse the repository at this point in the history
* fix build break on osx/arm64 Debug

* remove constexpr

* Revert "remove constexpr"

This reverts commit e67ca1a.

* Revert "fix build break on osx/arm64 Debug"

This reverts commit dc5ad92.

* remove static constexpr

---------

Co-authored-by: Kunal Pathak <kunalpathak@kunals-mbp.lan>
  • Loading branch information
kunalspathak and Kunal Pathak authored May 24, 2024
1 parent 8025156 commit a8bc8fa
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/coreclr/jit/regset.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,8 @@ class RegSet
bool rsModifiedRegsMaskInitialized; // Has rsModifiedRegsMask been initialized? Guards against illegal use.
#endif // DEBUG

#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;

public:
regMaskTP rsGetModifiedRegsMask() const
Expand Down

0 comments on commit a8bc8fa

Please sign in to comment.