Skip to content
Snippets Groups Projects
Commit 104a6e9b authored by Sean Callanan's avatar Sean Callanan
Browse files

Fixed a silly bug that was causing the "this" pointer

to be passed improperly to expressions in certain
cases.

llvm-svn: 116884
parent f99ee7cd
No related branches found
No related tags found
No related merge requests found
......@@ -95,11 +95,11 @@ public:
ThreadPlan *
GetThreadPlanToExecuteJITExpression (Stream &error_stream,
ExecutionContext &exe_ctx);
ExecutionContext &exe_ctx);
bool
FinalizeJITExecution (Stream &error_stream,
ExecutionContext &exe_ctx,
ClangExpressionVariable *&result);
ExecutionContext &exe_ctx,
ClangExpressionVariable *&result);
//------------------------------------------------------------------
/// Return the string that the parser should parse. Must be a full
......@@ -204,7 +204,7 @@ private:
PrepareToExecuteJITExpression (Stream &error_stream,
ExecutionContext &exe_ctx,
lldb::addr_t &struct_address,
lldb::addr_t object_ptr);
lldb::addr_t &object_ptr);
std::string m_expr_text; ///< The text of the expression, as typed by the user
std::string m_transformed_text; ///< The text of the expression, as send to the parser
......
......@@ -216,9 +216,9 @@ ClangUserExpression::Parse (Stream &error_stream, ExecutionContext &exe_ctx)
bool
ClangUserExpression::PrepareToExecuteJITExpression (Stream &error_stream,
ExecutionContext &exe_ctx,
lldb::addr_t &struct_address,
lldb::addr_t object_ptr)
ExecutionContext &exe_ctx,
lldb::addr_t &struct_address,
lldb::addr_t &object_ptr)
{
Log *log = lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_EXPRESSIONS);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment