From 7e30b39c67879027aac55e9e1e142e4bf98190cc Mon Sep 17 00:00:00 2001 From: Jeffrey Yasskin Date: Wed, 28 Oct 2009 00:28:31 +0000 Subject: [PATCH] Fix the ModuleDeletion test on PPC and ARM. llvm-svn: 85352 --- llvm/unittests/ExecutionEngine/JIT/JITTest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp index 2e0f9311a1f4..e0568ad2dcd0 100644 --- a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp +++ b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp @@ -410,6 +410,7 @@ TEST_F(JITTest, NonLazyLeaksNoStubs) { #endif TEST_F(JITTest, ModuleDeletion) { + TheJIT->DisableLazyCompilation(false); LoadAssembly("define void @main() { " " call i32 @computeVal() " " ret void "