Remove obviously invalid early exit that prevented analyzing ConstantAggregateZeros.

Found by the clang static analyzer.

llvm-svn: 148540
This commit is contained in:
Benjamin Kramer 2012-01-20 14:42:25 +00:00
parent cd18a7720d
commit 1d768583f5

View File

@ -4611,7 +4611,6 @@ GetAddressedElementFromGlobal(GlobalVariable *GV,
} else {
llvm_unreachable("Unknown constant aggregate type!");
}
return 0;
} else {
return 0; // Unknown initializer type
}