diff options
| author | 2023-07-14 22:12:42 +0100 | |
|---|---|---|
| committer | 2023-11-21 16:35:08 +0000 | |
| commit | 3ecc646add5d7044791a9260eb6bff01c611d18a (patch) | |
| tree | 3b81c948190f81343435667d501023c9da1fb1fb /compiler/optimizing/codegen_test_utils.h | |
| parent | 45027ae14f4b29f0f471f75efbc4e7a258c66d55 (diff) | |
Update static_assert dependent on kPageSize
This patch is part of the chain preparing for making kPageSize
non-constexpr in a future patch.
In most of the assertions the kPageSize is replaced with kMinPageSize.
However, in the MemMapTest_Reservation the assertion is replaced with
ASSERT_LT instead: while similarly to the other cases the input values
of the static_assert are dependent on the kPageSize, they can't be
replaced with kMinPageSize or other constant expressions.
Test: Same as for I5430741a8494b340ed7fd2d8692c41a59ad9c530.
The whole patches chain was tested as a whole.
Change-Id: I18efc71052273ef1f4d13948cbccbf8bd6379911
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions