mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
Remove obviously invalid early exit that prevented analyzing ConstantAggregateZeros.
Found by the clang static analyzer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148540 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ace4f2b0d4
commit
07df1b4d1a
@ -4611,7 +4611,6 @@ GetAddressedElementFromGlobal(GlobalVariable *GV,
|
||||
} else {
|
||||
llvm_unreachable("Unknown constant aggregate type!");
|
||||
}
|
||||
return 0;
|
||||
} else {
|
||||
return 0; // Unknown initializer type
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user