Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Commit

Permalink
merge from mainline
Browse files Browse the repository at this point in the history
Fix PR4772 ARM JIT.GlobalInFuction unittest by explicitly initialize MMI 
to 0 during JITEmitter constructor.


git-svn-id: http://llvm.org/svn/llvm-project/llvm/branches/release_26@80550 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Tanya Lattner committed Aug 31, 2009
1 parent b06d428 commit 30d8b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ExecutionEngine/JIT/JITEmitter.cpp
Expand Up @@ -504,7 +504,7 @@ namespace {

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();
Expand Down

0 comments on commit 30d8b70

Please sign in to comment.