[llvm-commits] CVS: llvm/lib/CodeGen/MachineFunction.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Apr 3 14:39:16 PDT 2006



Changes in directory llvm/lib/CodeGen:

MachineFunction.cpp updated: 1.86 -> 1.87
---
Log message:

Remove unused method


---
Diffs of the changes:  (+0 -8)

 MachineFunction.cpp |    8 --------
 1 files changed, 8 deletions(-)


Index: llvm/lib/CodeGen/MachineFunction.cpp
diff -u llvm/lib/CodeGen/MachineFunction.cpp:1.86 llvm/lib/CodeGen/MachineFunction.cpp:1.87
--- llvm/lib/CodeGen/MachineFunction.cpp:1.86	Wed Feb  8 22:46:04 2006
+++ llvm/lib/CodeGen/MachineFunction.cpp	Mon Apr  3 16:39:03 2006
@@ -297,14 +297,6 @@
 //  MachineFrameInfo implementation
 //===----------------------------------------------------------------------===//
 
-/// CreateStackObject - Create a stack object for a value of the specified type.
-///
-int MachineFrameInfo::CreateStackObject(const Type *Ty, const TargetData &TD) {
-  return CreateStackObject((unsigned)TD.getTypeSize(Ty),
-                           TD.getTypeAlignment(Ty));
-}
-
-
 void MachineFrameInfo::print(const MachineFunction &MF, std::ostream &OS) const{
   int ValOffset = MF.getTarget().getFrameInfo()->getOffsetOfLocalArea();
 






More information about the llvm-commits mailing list