Once a function has been JIT-compiled once, don't

JIT it again.

llvm-svn: 172477
This commit is contained in:
Sean Callanan 2013-01-14 21:45:38 +00:00
parent a2b5c4ba6a
commit d14fac150d

View File

@ -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;
}