Skip to content

Commit a8bc8fa

Browse files
kunalspathakKunal Pathak
andauthored
Fix build break on osx/arm64 Debug (#102631)
* 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>
1 parent 8025156 commit a8bc8fa

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/coreclr/jit/regset.h

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,8 @@ class RegSet
7474
bool rsModifiedRegsMaskInitialized; // Has rsModifiedRegsMask been initialized? Guards against illegal use.
7575
#endif // DEBUG
7676

77-
#ifdef SWIFT_SUPPORT
78-
regMaskTP rsAllCalleeSavedMask;
79-
regMaskTP rsIntCalleeSavedMask;
80-
#else // !SWIFT_SUPPORT
81-
static constexpr regMaskTP rsAllCalleeSavedMask = RBM_CALLEE_SAVED;
82-
static constexpr regMaskTP rsIntCalleeSavedMask = RBM_INT_CALLEE_SAVED;
83-
#endif // !SWIFT_SUPPORT
77+
regMaskTP rsAllCalleeSavedMask = RBM_CALLEE_SAVED;
78+
regMaskTP rsIntCalleeSavedMask = RBM_INT_CALLEE_SAVED;
8479

8580
public:
8681
regMaskTP rsGetModifiedRegsMask() const

0 commit comments

Comments
 (0)