Temporarily revert r72191. It was causing an assert during llvm-gcc
[oota-llvm.git] / include / llvm / CodeGen / MachineFunction.h
index d1744a0790e841c611de6b67863372adde3a5776..a110e5846ac90b781245e12b986f72c27d250007 100644 (file)
@@ -111,8 +111,6 @@ class MachineFunction : private Annotation {
   // Tracks debug locations.
   DebugLocTracker DebugLocInfo;
 
-  std::vector<DebugScopeInfo> DbgScopeInfos;
-
 public:
   MachineFunction(const Function *Fn, const TargetMachine &TM);
   ~MachineFunction();
@@ -334,7 +332,7 @@ public:
   /// getOrCreateDebugLocID - Look up the DebugLocTuple index with the given
   /// source file, line, and column. If none currently exists, create a new
   /// DebugLocTuple, and insert it into the DebugIdMap.
-  unsigned getOrCreateDebugLocID(GlobalVariable *CompileUnit, DebugScope Scope,
+  unsigned getOrCreateDebugLocID(GlobalVariable *CompileUnit,
                                  unsigned Line, unsigned Col);
 
   /// getDebugLocTuple - Get the DebugLocTuple for a given DebugLoc object.
@@ -347,12 +345,6 @@ public:
   /// setDefaultDebugLoc - Get the default debug location for the machine
   /// function.
   void setDefaultDebugLoc(DebugLoc DL) { DefaultDebugLoc = DL; }
-
-  /// CreateDebugScope - Create a new debug scope.
-  DebugScope CreateDebugScope(GlobalVariable *ScopeGV, DebugScope Parent);
-
-  /// getDebugScopeInfo - Get the DebugScopeInfo for a given DebugScope object.
-  const DebugScopeInfo &getDebugScopeInfo(DebugScope DS) const;
 };
 
 //===--------------------------------------------------------------------===//