Documented ClangExpression and made parts of it
more sane (i.e., removed dead arguments, made
sensible defaults, etc.)
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@110990 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangFunction.cpp b/source/Expression/ClangFunction.cpp
index df87222..957be2a 100644
--- a/source/Expression/ClangFunction.cpp
+++ b/source/Expression/ClangFunction.cpp
@@ -258,7 +258,7 @@
if (!m_JITted)
{
// Next we should JIT it and insert the result into the target program.
- if (!JITFunction (exe_ctx, m_wrapper_function_name.c_str()))
+ if (!JITFunction (m_wrapper_function_name.c_str()))
return false;
if (!WriteJITCode (exe_ctx))