mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-29 07:01:28 +00:00
[BitcodeReader] Fixed null check after dereferencing warning. NFCI.
This commit is contained in:
1 parent
f39d95ea04
commit
46f372a4aa
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user