projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d029cd2
)
Method has been inlined into all callers
author
Chris Lattner
<sabre@nondot.org>
Wed, 2 Jun 2004 05:55:48 +0000
(
05:55
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 2 Jun 2004 05:55:48 +0000
(
05:55
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13953
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/TargetMachine.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/TargetMachine.cpp
b/lib/Target/TargetMachine.cpp
index 82778d9b8ae105a2ae7c56a758e267f731112459..edb8c54ae9d6f07cf92c2dab2bceecb57cd38430 100644
(file)
--- a/
lib/Target/TargetMachine.cpp
+++ b/
lib/Target/TargetMachine.cpp
@@
-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);
-}