forked from OSchip/llvm-project
[BitcodeReader] Fixed null check after dereferencing warning. NFCI.
This commit is contained in:
parent
f39d95ea04
commit
46f372a4aa
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue