summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectCall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands/CommandObjectCall.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectCall.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/lldb/source/Commands/CommandObjectCall.cpp b/lldb/source/Commands/CommandObjectCall.cpp
index b3dfc533b16..fe0ee534437 100644
--- a/lldb/source/Commands/CommandObjectCall.cpp
+++ b/lldb/source/Commands/CommandObjectCall.cpp
@@ -263,15 +263,8 @@ CommandObjectCall::Execute
ClangFunction::ExecutionResults return_status;
Value return_value;
- if (m_options.use_abi)
- {
- return_status = clang_fun.ExecuteFunctionWithABI(exe_ctx, errors, return_value);
- }
- else
- {
- bool stop_others = true;
- return_status = clang_fun.ExecuteFunction(exe_ctx, errors, stop_others, NULL, return_value);
- }
+ bool stop_others = true;
+ return_status = clang_fun.ExecuteFunction(exe_ctx, errors, stop_others, NULL, return_value);
// Now figure out what to do with the return value.
if (return_status == ClangFunction::eExecutionSetupError)
OpenPOWER on IntegriCloud