aboutsummaryrefslogtreecommitdiff
path: root/tools/lli
diff options
context:
space:
mode:
authorEli Bendersky <eli.bendersky@intel.com>2012-04-29 11:14:59 +0000
committerEli Bendersky <eli.bendersky@intel.com>2012-04-29 11:14:59 +0000
commit30183bf04273127dedd4342c49f7612214c57181 (patch)
tree3d138f7cf6c4e5981445dfecb84a783c0718a7f4 /tools/lli
parent3703baacf5c17425a07d57583148086a746c5f98 (diff)
Remove redundant line (the memory manager is set above to the same object
if !ForceInterpreteri). It has no effect (apart from a memory leak...) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lli')
-rw-r--r--tools/lli/lli.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/lli/lli.cpp b/tools/lli/lli.cpp
index 2e2bf7d66e..e1759ccede 100644
--- a/tools/lli/lli.cpp
+++ b/tools/lli/lli.cpp
@@ -235,7 +235,6 @@ int main(int argc, char **argv, char * const *envp) {
// Enable MCJIT if desired.
if (UseMCJIT && !ForceInterpreter) {
builder.setUseMCJIT(true);
- builder.setJITMemoryManager(JITMemoryManager::CreateDefaultMemManager());
}
CodeGenOpt::Level OLvl = CodeGenOpt::Default;