[opengtl-commits] [257] make the ModuleData accessible |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 257
Author: cyrille
Date: 2008-06-28 00:32:21 +0200 (Sat, 28 Jun 2008)
Log Message:
-----------
make the ModuleData accessible
Modified Paths:
--------------
trunk/OpenGTL/OpenGTL/GTLCore/GenerationContext_p.cpp
trunk/OpenGTL/OpenGTL/GTLCore/GenerationContext_p.h
Modified: trunk/OpenGTL/OpenGTL/GTLCore/GenerationContext_p.cpp
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/GenerationContext_p.cpp 2008-06-27 22:18:12 UTC (rev 256)
+++ trunk/OpenGTL/OpenGTL/GTLCore/GenerationContext_p.cpp 2008-06-27 22:32:21 UTC (rev 257)
@@ -52,3 +52,7 @@
return m_module->llvmModule();
}
+ModuleData* GenerationContext::module()
+{
+ return m_module;
+}
Modified: trunk/OpenGTL/OpenGTL/GTLCore/GenerationContext_p.h
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/GenerationContext_p.h 2008-06-27 22:18:12 UTC (rev 256)
+++ trunk/OpenGTL/OpenGTL/GTLCore/GenerationContext_p.h 2008-06-27 22:32:21 UTC (rev 257)
@@ -37,7 +37,7 @@
llvm::Function* llvmFunction();
Function* function();
llvm::Module* llvmModule();
-// Module::Data* module();
+ ModuleData* module();
private:
GTLCore::CodeGenerator* m_codeGenerator;
llvm::Function* m_llvmFunction;