diff options
author | 2023-07-14 22:00:13 +0100 | |
---|---|---|
committer | 2023-11-30 00:02:56 +0000 | |
commit | 565b3b67de4b3b781b1c97aa86164c1bd604cd3d (patch) | |
tree | 407f971da5092e79c50846834e7f7e8b7355a88d /dex2oat/common_compiler_driver_test.cc | |
parent | b2ad46534494bc8abd22c85c001e39bbf8d9118a (diff) |
Make kPageSize-derived values non-constexpr
This patch is part of the chain preparing for making kPageSize
non-constexpr in a future patch.
Since kPageSize is going to be a non-constexpr value, it can't be
used to initialize constexpr values anymore. Remove constexpr specifier
and replace it with const type qualifier for the derived values.
However, for configuration with page size agnosticism switched off,
effects on performance are expected to be negligible as the values
are still effectively constant so compiler should be able to easily
deduce that and propagate the constants.
Test: Same as for I5430741a8494b340ed7fd2d8692c41a59ad9c530.
The whole patches chain was tested as a whole.
Change-Id: I901d6b0504355ed290c76569c4472aed7414956c
Diffstat (limited to 'dex2oat/common_compiler_driver_test.cc')
0 files changed, 0 insertions, 0 deletions