Unbreak teh build.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 5 Feb 2008 00:25:13 +0000 (00:25 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 5 Feb 2008 00:25:13 +0000 (00:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46729 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/AsmPrinter.h

index bbe650b0c2f407b68ce0024640f43176cb2519ce..6607afe823abb47ae39d1043a6ab754ad0632b8f 100644 (file)
@@ -27,6 +27,7 @@ namespace llvm {
   class GlobalAlias;
   class MachineConstantPoolEntry;
   class MachineConstantPoolValue;
+  class MachineModuleInfo;
   class Mangler;
   class TargetAsmInfo;
   class Type;
@@ -43,6 +44,11 @@ namespace llvm {
     ///
     unsigned FunctionNumber;
 
+    /// MachineModuleInfo - This is needed because printDeclare() has to insert
+    /// DebugVariable entries into the dwarf table. This is a short term hack
+    /// that ought be fixed soon.
+    MachineModuleInfo *MMI;
+
   protected:
     // Necessary for external weak linkage support
     std::set<const GlobalValue*> ExtWeakSymbols;