[ThinLTO] - Remove code duplication. NFC.
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 17 Jan 2018 10:33:05 +0000 (10:33 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 17 Jan 2018 10:33:05 +0000 (10:33 +0000)
commit2421b6fa5c6eb2b827fed3306e4c6a9d49564c86
tree29e8207db5e024a924115624fb439292a232f816
parentf22f3489d76698c1843957972576bfbba515572a
[ThinLTO] - Remove code duplication. NFC.

Refactors 3 copies of isExpected.
Splitted from D42107.

llvm-svn: 322627
llvm/lib/LTO/ThinLTOCodeGenerator.cpp