Method has been inlined into all callers

llvm-svn: 13953
This commit is contained in:
Chris Lattner 2004-06-02 05:55:48 +00:00
parent 82baa9c394
commit c832e546d0
1 changed files with 0 additions and 7 deletions

View File

@ -54,10 +54,3 @@ TargetMachine::~TargetMachine() {
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);
}