[llvm-commits] CVS: llvm/lib/Target/TargetMachine.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Jun 2 01:01:02 PDT 2004
Changes in directory llvm/lib/Target:
TargetMachine.cpp updated: 1.24 -> 1.25
---
Log message:
Method has been inlined into all callers
---
Diffs of the changes: (+0 -7)
Index: llvm/lib/Target/TargetMachine.cpp
diff -u llvm/lib/Target/TargetMachine.cpp:1.24 llvm/lib/Target/TargetMachine.cpp:1.25
--- llvm/lib/Target/TargetMachine.cpp:1.24 Thu Mar 4 13:16:23 2004
+++ llvm/lib/Target/TargetMachine.cpp Wed Jun 2 00:55:48 2004
@@ -54,10 +54,3 @@
delete IL;
}
-unsigned TargetMachine::findOptimalStorageSize(const Type *Ty) const {
- // All integer types smaller than ints promote to 4 byte integers.
- if (Ty->isIntegral() && Ty->getPrimitiveSize() < 4)
- return 4;
-
- return DataLayout.getTypeSize(Ty);
-}
More information about the llvm-commits
mailing list