DebugInfo: Remove DwarfDebug::CurrentFnArguments since we have to handle argument...
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfDebug.h
index d1fae7285f5f777032d19df0827a68f9ade12261..927ef76e4bdad9069a7d1845d5f1895b4fdf5054 100644 (file)
@@ -194,9 +194,6 @@ class DwarfDebug : public AsmPrinterHandler {
   typedef DenseMap<const MCSection *, SmallVector<SymbolCU, 8> > SectionMapType;
   SectionMapType SectionMap;
 
-  // List of arguments for current function.
-  SmallVector<DbgVariable *, 8> CurrentFnArguments;
-
   LexicalScopes LScopes;
 
   // Collection of abstract subprogram DIEs.
@@ -675,10 +672,6 @@ public:
   SmallPtrSet<const MDNode *, 16> &getProcessedSPNodes() {
     return ProcessedSPNodes;
   }
-
-  SmallVector<DbgVariable *, 8> &getCurrentFnArguments() {
-    return CurrentFnArguments;
-  }
 };
 } // End of namespace llvm