[vmkit-commits] [vmkit] r62228 - /vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Wed Jan 14 07:15:13 PST 2009


Author: geoffray
Date: Wed Jan 14 09:15:13 2009
New Revision: 62228

URL: http://llvm.org/viewvc/llvm-project?rev=62228&view=rev
Log:
Get target data from the module, not the execution engine.


Modified:
    vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp

Modified: vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp?rev=62228&r1=62227&r2=62228&view=diff

==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/JnjvmModule.cpp Wed Jan 14 09:15:13 2009
@@ -2114,8 +2114,7 @@
   MvmModule(ModuleID) {
   
   if (!sc) {
-    std::string str = 
-      executionEngine->getTargetData()->getStringRepresentation();
+    std::string str = TheTargetData->getStringRepresentation();
     setDataLayout(str);
   }
   staticCompilation = sc;





More information about the vmkit-commits mailing list