Add the getRelocationType method that I forgot
[oota-llvm.git] / include / llvm / CodeGen / MachineFrameInfo.h
index e48158e1b5c9fb75dbd2109c09794ed85e69e41c..7ac582c75d14100bea55e41641bee8f8a668bf91 100644 (file)
 #ifndef LLVM_CODEGEN_MACHINEFRAMEINFO_H
 #define LLVM_CODEGEN_MACHINEFRAMEINFO_H
 
-namespace llvm {
+#include <vector>
 
+namespace llvm {
 class TargetData;
 class TargetRegisterClass;
 class Type;
 class MachineFunction;
 
-}
-
-#include <vector>
-
-namespace llvm {
-
 class MachineFrameInfo {
 
   // StackObject - Represent a single object allocated on the stack.
@@ -202,10 +197,9 @@ public:
   }
 
   /// CreateStackObject - Create a stack object for a value of the specified
-  /// LLVM type or register class.
+  /// LLVM type.
   ///
   int CreateStackObject(const Type *Ty, const TargetData &TD);
-  int CreateStackObject(const TargetRegisterClass *RC);
 
   /// CreateVariableSizedObject - Notify the MachineFrameInfo object that a
   /// variable sized object has been created.  This must be created whenever a