[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Feb 25 14:28:01 PST 2003
Changes in directory llvm/lib/Target:
TargetData.cpp updated: 1.26 -> 1.27
---
Log message:
Remove wierd case that can never happen
---
Diffs of the changes:
Index: llvm/lib/Target/TargetData.cpp
diff -u llvm/lib/Target/TargetData.cpp:1.26 llvm/lib/Target/TargetData.cpp:1.27
--- llvm/lib/Target/TargetData.cpp:1.26 Tue Oct 29 15:48:16 2002
+++ llvm/lib/Target/TargetData.cpp Tue Feb 25 14:27:09 2003
@@ -191,9 +191,6 @@
// Update Ty to refer to current element
Ty = STy->getElementTypes()[FieldNo];
-
- } else if (isa<const ArrayType>(Ty)) {
- assert(0 && "Loading from arrays not implemented yet!");
} else {
assert(0 && "Indexing type that is not struct or array?");
return 0; // Load directly through ptr
More information about the llvm-commits
mailing list