diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-11-07 11:19:30 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-11-07 11:19:30 +0100 |
commit | 07b8711526972e120824d0fb913b01b1baf6a4cb (patch) | |
tree | b9fcff64e92c1fc497babdde187db3d277ec61dc /compilerplugins/clang/overrideparam.cxx | |
parent | 3a32caa141f9c16a4f3d3895381384da13acd149 (diff) |
Memoize ignoreLocation results
...which, according to callgrind, reduces instruction fetch count spent on
compiling sw/source/core/layout/paintfrm.cxx (randomly selected because it is
rather large) by 5% from 41,992,064,226 to 39,861,989,855 (function main() in
clang-6.0).
This is best done by forwarding ignoreLocation calls from Plugin to the
PluginHandler signleton, but due to the tight mutual coupling between plugin.hxx
and pluginhandler.hxx that unfortunately required some reorganization (and two
outstanding TODO clean-ups of temporarily introduced using declarations in
plugin.hxx).
Change-Id: Ia4270517d194def7db7ed80cb6894e9c473e9499
Diffstat (limited to 'compilerplugins/clang/overrideparam.cxx')
0 files changed, 0 insertions, 0 deletions