Modified CommandObjectExpression::EvaluateExpression() so that it takes an
additional (ComandReturnObject *) result parameter (default to NULL) and does
the right thing in setting the result status.

Also removed used variable ast_context.

llvm-svn: 110992
diff --git a/lldb/source/Commands/CommandObjectExpression.h b/lldb/source/Commands/CommandObjectExpression.h
index 1959ecb..a466167 100644
--- a/lldb/source/Commands/CommandObjectExpression.h
+++ b/lldb/source/Commands/CommandObjectExpression.h
@@ -87,10 +87,11 @@
                                  size_t bytes_len);
 
     bool
-    EvaluateExpression (const char *expr, 
+    EvaluateExpression (const char *expr,
                         bool bare,
-                        Stream &output_stream, 
-                        Stream &error_stream);
+                        Stream &output_stream,
+                        Stream &error_stream,
+                        CommandReturnObject *result = NULL);
 
     CommandOptions m_options;
     ExecutionContext m_exe_ctx;