[llvm-commits] CVS: llvm/lib/ExecutionEngine/JIT/JIT.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu May 4 14:18:53 PDT 2006



Changes in directory llvm/lib/ExecutionEngine/JIT:

JIT.cpp updated: 1.63 -> 1.64
---
Log message:

Adjust to use proper TargetData copy ctor


---
Diffs of the changes:  (+1 -1)

 JIT.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/ExecutionEngine/JIT/JIT.cpp
diff -u llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.63 llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.64
--- llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.63	Tue May  2 20:29:56 2006
+++ llvm/lib/ExecutionEngine/JIT/JIT.cpp	Thu May  4 16:18:40 2006
@@ -47,7 +47,7 @@
   // Add target data
   MutexGuard locked(lock);
   FunctionPassManager& PM = state.getPM(locked);
-  PM.add(new TargetData(TM.getTargetData()));
+  PM.add(new TargetData(*TM.getTargetData()));
 
   // Compile LLVM Code down to machine code in the intermediate representation
   TJI.addPassesToJITCompile(PM);






More information about the llvm-commits mailing list