Skip to content

Commit

Permalink
Update enum value and assert (#88830)
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronRobinsonMSFT authored Jul 13, 2023
1 parent 58cd4d2 commit 563a549
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/vm/stublink.h
Original file line number Diff line number Diff line change
Expand Up @@ -467,10 +467,10 @@ class Stub
UNWIND_INFO_BIT = 0x08000000,
THUNK_BIT = 0x04000000,

CODEBYTES_MASK = UNWIND_INFO_BIT - 1,
CODEBYTES_MASK = THUNK_BIT - 1,
MAX_CODEBYTES = CODEBYTES_MASK + 1,
};
static_assert_no_msg(CODEBYTES_MASK < UNWIND_INFO_BIT);
static_assert_no_msg(CODEBYTES_MASK < THUNK_BIT);

public:
//-------------------------------------------------------------------
Expand Down

0 comments on commit 563a549

Please sign in to comment.