[BitcodeReader] Fixed null check after dereferencing warning. NFCI.

This commit is contained in:
Dávid Bolvanský
2019-11-03 19:42:11 +01:00
parent f39d95ea04
commit 46f372a4aa

View File

@@ -5139,7 +5139,7 @@ Error BitcodeReader::parseFunctionBody(Function *F) {
}
// Non-void values get registered in the value table for future use.
if (I && !I->getType()->isVoidTy()) {
if (!I->getType()->isVoidTy()) {
if (!FullTy) {
FullTy = I->getType();
assert(