HomePhabricator

[StaticAnalyzer] Move inline counter increaser to inlineCall function

Description

[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

Details

Committed
szepetMay 16 2017, 4:54 AM
Differential Revision
D32179: [StaticAnalyzer] Move inline counter increaser to inlineCall function
Branches
Unknown
Tags
Unknown