summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2013-01-14 21:45:38 +0000
committerSean Callanan <scallanan@apple.com>2013-01-14 21:45:38 +0000
commitd14fac150d2d8da2cb828f25e00d7d3c971bf7fc (patch)
tree9b1352bdc5bfb3879e1c86fc84a7cfeacd738321 /lldb/source/Expression
parenta2b5c4ba6ab5d904c460123cbb6d26874d28039c (diff)
downloadbcm5719-llvm-d14fac150d2d8da2cb828f25e00d7d3c971bf7fc.tar.gz
bcm5719-llvm-d14fac150d2d8da2cb828f25e00d7d3c971bf7fc.zip
Once a function has been JIT-compiled once, don't
JIT it again. llvm-svn: 172477
Diffstat (limited to 'lldb/source/Expression')
-rw-r--r--lldb/source/Expression/ClangFunction.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Expression/ClangFunction.cpp b/lldb/source/Expression/ClangFunction.cpp
index fe4cca1fab4..49e09c4e7d2 100644
--- a/lldb/source/Expression/ClangFunction.cpp
+++ b/lldb/source/Expression/ClangFunction.cpp
@@ -277,6 +277,8 @@ ClangFunction::WriteFunctionWrapper (ExecutionContext &exe_ctx, Stream &errors)
return false;
if (process && m_jit_alloc != LLDB_INVALID_ADDRESS)
m_jit_process_wp = lldb::ProcessWP(process->shared_from_this());
+
+ m_JITted = true;
return true;
}
OpenPOWER on IntegriCloud