Fix missing braces from the python-GIL merge.

llvm-svn: 162162
This commit is contained in:
Johnny Chen 2012-08-18 04:24:00 +00:00
parent 2c90e999aa
commit 8115c6d45d
1 changed files with 4 additions and 1 deletions

View File

@ -556,7 +556,8 @@ ClangUserExpression::Execute (Stream &error_stream,
lldb::addr_t object_ptr = 0;
lldb::addr_t cmd_ptr = 0;
if (!PrepareToExecuteJITExpression (error_stream, exe_ctx, struct_address, object_ptr, cmd_ptr)) {
if (!PrepareToExecuteJITExpression (error_stream, exe_ctx, struct_address, object_ptr, cmd_ptr))
{
error_stream.Printf("Errored out in %s, couldn't PrepareToExecuteJITExpression", __FUNCTION__);
return eExecutionSetupError;
}
@ -632,8 +633,10 @@ ClangUserExpression::Execute (Stream &error_stream,
if (FinalizeJITExecution (error_stream, exe_ctx, result, function_stack_pointer))
return eExecutionCompleted;
else
{
error_stream.Printf("Errored out in %s: Couldn't FinalizeJITExpression", __FUNCTION__);
return eExecutionSetupError;
}
}
else
{