diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-01-22 09:33:11 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-02-14 08:13:38 +0000 |
commit | db569428c62751aba1aebea658f8cbe3297b16d4 (patch) | |
tree | 670d993f73f82b061ba97cfc20bb8e197b86f8c2 /src/corelib/tools/qiterator.h | |
parent | 9a34fed72808b0bd19c3c287099bbc27fe66cc9a (diff) |
QDateTimePrivate: enable read caching on m_status in setDateTime()
Help the compiler by building the new status flags in a local
instead of a member variable. Enables value tracking for that
piece of data across several non-inline function calls, leading
to less redundant reads through this->.
Effects on Linux GCC 4.9 stripped release builds:
text -248B
data +-0B
relocs +-0
Change-Id: I2db21439464ad0fff8163a908de3b15df7c4ab6d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/corelib/tools/qiterator.h')
0 files changed, 0 insertions, 0 deletions