no really, I can spell!
[oota-llvm.git] / include / llvm / CodeGen / SelectionDAG.h
index 8abd78dd2abb2c1ed76c13e142ae306351f16f7b..dc93f12df12c88e1f4a2f05ff6dfa176d3fd5f72 100644 (file)
@@ -78,6 +78,7 @@ class SelectionDAG {
   FunctionLoweringInfo &FLI;
   MachineModuleInfo *MMI;
   DwarfWriter *DW;
+  LLVMContext* Context;
 
   /// EntryNode - The starting token.
   SDNode EntryNode;
@@ -138,6 +139,7 @@ public:
   FunctionLoweringInfo &getFunctionLoweringInfo() const { return FLI; }
   MachineModuleInfo *getMachineModuleInfo() const { return MMI; }
   DwarfWriter *getDwarfWriter() const { return DW; }
+  LLVMContext *getContext() const {return Context; }
 
   /// viewGraph - Pop up a GraphViz/gv window with the DAG rendered using 'dot'.
   ///