diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-02-23 22:33:55 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-03-13 07:02:14 +0000 |
commit | e5ebf95bba3ac671af70d2dac291dd0d0e860428 (patch) | |
tree | 1af68fc1770332ee6cb2376e5760b2c604ee2fbd /src/gui/kernel/qplatformwindow.cpp | |
parent | 2379bcac3267ca4209709585a20ab65a71b2056f (diff) |
QMimeTypeParser: plaster error paths with Q_UNLIKELY
... when more than a return would be executed, to
prompt the compiler to move it out of the way of
the normal execution path.
Unexpectedly costs ~200b in text size on optimized
GCC 5.3 Linux AMD64 builds.
Change-Id: I0ebfb56af7c2262f64271a1b0ec46533e6000bc9
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/gui/kernel/qplatformwindow.cpp')
0 files changed, 0 insertions, 0 deletions