summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/FunctionCaller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Expression/FunctionCaller.cpp')
-rw-r--r--lldb/source/Expression/FunctionCaller.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Expression/FunctionCaller.cpp b/lldb/source/Expression/FunctionCaller.cpp
index 0590c3b0d95..3a4f1fe33ad 100644
--- a/lldb/source/Expression/FunctionCaller.cpp
+++ b/lldb/source/Expression/FunctionCaller.cpp
@@ -232,7 +232,7 @@ bool
FunctionCaller::InsertFunction(ExecutionContext &exe_ctx, lldb::addr_t &args_addr_ref,
DiagnosticManager &diagnostic_manager)
{
- if (CompileFunction(diagnostic_manager) != 0)
+ if (CompileFunction(exe_ctx.GetThreadSP(), diagnostic_manager) != 0)
return false;
if (!WriteFunctionWrapper(exe_ctx, diagnostic_manager))
return false;
@@ -345,8 +345,8 @@ FunctionCaller::ExecuteFunction(ExecutionContext &exe_ctx, lldb::addr_t *args_ad
args_addr = *args_addr_ptr;
else
args_addr = LLDB_INVALID_ADDRESS;
-
- if (CompileFunction(diagnostic_manager) != 0)
+
+ if (CompileFunction(exe_ctx.GetThreadSP(), diagnostic_manager) != 0)
return lldb::eExpressionSetupError;
if (args_addr == LLDB_INVALID_ADDRESS)
OpenPOWER on IntegriCloud