diff options
author | Chris Lattner <sabre@nondot.org> | 2006-04-03 21:39:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-04-03 21:39:03 +0000 |
commit | 6bc4b9c7f80bdad5f16ea4e8550555352563cb4e (patch) | |
tree | 47694666bf7b9d5900853b1f1dc3e44ab960f541 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 6dc9870556e09942326ce953d8508b6e33690cf8 (diff) | |
download | bcm5719-llvm-6bc4b9c7f80bdad5f16ea4e8550555352563cb4e.tar.gz bcm5719-llvm-6bc4b9c7f80bdad5f16ea4e8550555352563cb4e.zip |
Remove unused method
llvm-svn: 27379
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 6fdd03847ef..65c902fd4b3 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -297,14 +297,6 @@ void MachineFunction::clearSSARegMap() { // 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(); |