summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorPeter Szecsi <szepet95@gmail.com>2017-05-16 11:54:00 +0000
committerPeter Szecsi <szepet95@gmail.com>2017-05-16 11:54:00 +0000
commit32134db1a1cf6932d77b373236b3e42151817b8e (patch)
treeae3f4380433622b62fd7f735bd3e7538ddd4184e /llvm/lib
parentbe6ef0eff9e155fe71dc1dff7e876a2ebd458d58 (diff)
downloadbcm5719-llvm-32134db1a1cf6932d77b373236b3e42151817b8e.tar.gz
bcm5719-llvm-32134db1a1cf6932d77b373236b3e42151817b8e.zip
[StaticAnalyzer] Move inline counter increaser to inlineCall function
Even though the shouldInlineCall function returns true, it can happen that the function is not going to be inlined (as it can be seen at line 913 and below). Moved the bumpNumTimesInlined(D) (the counter increaser) call to the inlineCall function where it logically belongs. Differential Revision: https://reviews.llvm.org/D32179 llvm-svn: 303158
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud