[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp
Reid Spencer
reid at x10sys.com
Fri Feb 16 14:42:57 PST 2007
Changes in directory llvm/lib/Target:
TargetData.cpp updated: 1.98 -> 1.99
---
Log message:
Remove an unnecessary predicate.
Patch by Scott Michel.
---
Diffs of the changes: (+1 -1)
TargetData.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/TargetData.cpp
diff -u llvm/lib/Target/TargetData.cpp:1.98 llvm/lib/Target/TargetData.cpp:1.99
--- llvm/lib/Target/TargetData.cpp:1.98 Fri Feb 16 16:25:34 2007
+++ llvm/lib/Target/TargetData.cpp Fri Feb 16 16:42:40 2007
@@ -458,7 +458,7 @@
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.
More information about the llvm-commits
mailing list