Now that we set ThreadPlanCallFunction to private in the constructor, it is confusing that we set it

again in client code after creating the plans.  So remove those unnecessary calls.

llvm-svn: 169625
This commit is contained in:
Jim Ingham
2012-12-07 19:04:31 +00:00
parent 481e50efe0
commit 95afbf517a
3 changed files with 2 additions and 7 deletions

View File

@@ -517,9 +517,7 @@ ClangFunction::ExecuteFunction (
this_arg));
if (!call_plan_sp)
return eExecutionSetupError;
call_plan_sp->SetPrivate(true);
// <rdar://problem/12027563> we need to make sure we record the fact that we are running an expression here
// otherwise this fact will fail to be recorded when fetching an Objective-C object description
if (exe_ctx.GetProcessPtr())