diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-05-12 07:54:34 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-05-13 17:13:46 +0200 |
commit | 949b85a721e9970dda2a3e3566bb7530b423beee (patch) | |
tree | c9a4fbd1a3c14363e2f6123053aec6cd4d48b527 /src/corelib/tools/qversionnumber.cpp | |
parent | c5183b497e6652787e84b57f0443cf8b4f6e48c4 (diff) |
QObject: mark two error reporting functions COLD
They already nicely factored this error-only code from the normal path
of execution. All that was missing was for them to be marked as COLD,
so the compiler moves them out of the way even further, and optimizes
them for size, not speed.
TEXT size savings: ~400b on GCC 11.2 and ~500b on Clang 10 optimized
C++20 AMD64 Linux builds.
Pick-to: 6.3 6.2 5.15
Change-Id: I64a4123645855b4e34fbb0bc3304d144d7191a0d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qversionnumber.cpp')
0 files changed, 0 insertions, 0 deletions