Eliminate unneccesary file
authorChris Lattner <sabre@nondot.org>
Sat, 28 Dec 2002 20:34:47 +0000 (20:34 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Dec 2002 20:34:47 +0000 (20:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5191 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/MachineFrameInfo.cpp [deleted file]

diff --git a/lib/Target/MachineFrameInfo.cpp b/lib/Target/MachineFrameInfo.cpp
deleted file mode 100644 (file)
index 4d2fab2..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-//===-- MachineFrameInfo.cpp-----------------------------------------------===//
-// 
-// Interface to layout of stack frame on target machine.  Most functions of
-// class MachineFrameInfo have to be machine-specific so there is little code
-// here.
-// 
-//===----------------------------------------------------------------------===//
-
-#include "llvm/Target/MachineFrameInfo.h"
-#include "llvm/CodeGen/MachineFunction.h"
-
-int
-MachineFrameInfo::getIncomingArgOffset(MachineFunction& mcInfo,
-                                       unsigned argNum) const
-{
-  assert(argsOnStackHaveFixedSize()); 
-  
-  unsigned relativeOffset = argNum * getSizeOfEachArgOnStack();
-  bool growUp;                          // do args grow up or down
-  int firstArg = getFirstIncomingArgOffset(mcInfo, growUp);
-  int offset = growUp? firstArg + relativeOffset 
-                     : firstArg - relativeOffset; 
-  return offset; 
-}
-
-
-int
-MachineFrameInfo::getOutgoingArgOffset(MachineFunction& mcInfo,
-                                       unsigned argNum) const
-{
-  assert(argsOnStackHaveFixedSize()); 
-  assert(((int) argNum - this->getNumFixedOutgoingArgs())
-         <= (int) mcInfo.getMaxOptionalNumArgs());
-  
-  unsigned relativeOffset = argNum * getSizeOfEachArgOnStack();
-  bool growUp;                          // do args grow up or down
-  int firstArg = getFirstOutgoingArgOffset(mcInfo, growUp);
-  int offset = growUp? firstArg + relativeOffset 
-                     : firstArg - relativeOffset; 
-  
-  return offset; 
-}