Remove an unnecessary predicate.

Patch by Scott Michel.

llvm-svn: 34354
This commit is contained in:
Reid Spencer 2007-02-16 22:42:40 +00:00
parent 1d0721209d
commit e4ff249d26
1 changed files with 1 additions and 1 deletions

View File

@ -458,7 +458,7 @@ unsigned char TargetData::getAlignment(const Type *Ty, bool abi_or_pref) const {
case Type::StructTyID: {
// Packed structure types always have an ABI alignment of one.
if (cast<StructType>(Ty)->isPacked() && abi_or_pref)
if (cast<StructType>(Ty)->isPacked())
return 1;
// Get the layout annotation... which is lazily created on demand.