[llvm-branch-commits] [llvm-branch] r80550 - /llvm/branches/release_26/lib/ExecutionEngine/JIT/JITEmitter.cpp

Tanya Lattner tonic at nondot.org
Sun Aug 30 23:27:22 PDT 2009


Author: tbrethou
Date: Mon Aug 31 01:27:22 2009
New Revision: 80550

URL: http://llvm.org/viewvc/llvm-project?rev=80550&view=rev
Log:
merge from mainline
Fix PR4772 ARM JIT.GlobalInFuction unittest by explicitly initialize MMI 
to 0 during JITEmitter constructor.

Modified:
    llvm/branches/release_26/lib/ExecutionEngine/JIT/JITEmitter.cpp

Modified: llvm/branches/release_26/lib/ExecutionEngine/JIT/JITEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_26/lib/ExecutionEngine/JIT/JITEmitter.cpp?rev=80550&r1=80549&r2=80550&view=diff

==============================================================================
--- llvm/branches/release_26/lib/ExecutionEngine/JIT/JITEmitter.cpp (original)
+++ llvm/branches/release_26/lib/ExecutionEngine/JIT/JITEmitter.cpp Mon Aug 31 01:27:22 2009
@@ -504,7 +504,7 @@
 
   public:
     JITEmitter(JIT &jit, JITMemoryManager *JMM)
-        : SizeEstimate(0), Resolver(jit), CurFn(0) {
+        : SizeEstimate(0), Resolver(jit), MMI(0), CurFn(0) {
       MemMgr = JMM ? JMM : JITMemoryManager::CreateDefaultMemManager();
       if (jit.getJITInfo().needsGOT()) {
         MemMgr->AllocateGOT();





More information about the llvm-branch-commits mailing list