summaryrefslogtreecommitdiff
path: root/lldb/source/Expression/ClangExpressionVariable.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-03-31 00:19:25 +0000
committerJim Ingham <jingham@apple.com>2011-03-31 00:19:25 +0000
commit6035b67d2c27cc1af134293acb06ce7463f88671 (patch)
treeb560151fdc63ab7c4f23a1526516daa7745f838c /lldb/source/Expression/ClangExpressionVariable.cpp
parent3a195b7e7818e2828fba055e9397a07e71804bc6 (diff)
Convert ValueObject to explicitly maintain the Execution Context in which they were created, and then use that when they update themselves. That means all the ValueObject evaluate me type functions that used to require a Frame object now do not. I didn't remove the SBValue API's that take this now useless frame, but I added ones that don't require the frame, and marked the SBFrame taking ones as deprecated.
llvm-svn: 128593
Diffstat (limited to 'lldb/source/Expression/ClangExpressionVariable.cpp')
-rw-r--r--lldb/source/Expression/ClangExpressionVariable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/ClangExpressionVariable.cpp b/lldb/source/Expression/ClangExpressionVariable.cpp
index c5bc5c48ef69..7cb25e3eafbd 100644
--- a/lldb/source/Expression/ClangExpressionVariable.cpp
+++ b/lldb/source/Expression/ClangExpressionVariable.cpp
@@ -25,10 +25,10 @@
using namespace lldb_private;
using namespace clang;
-ClangExpressionVariable::ClangExpressionVariable(lldb::ByteOrder byte_order, uint32_t addr_byte_size) :
+ClangExpressionVariable::ClangExpressionVariable(ExecutionContextScope *exe_scope, lldb::ByteOrder byte_order, uint32_t addr_byte_size) :
m_parser_vars(),
m_jit_vars (),
- m_frozen_sp (new ValueObjectConstResult(byte_order, addr_byte_size)),
+ m_frozen_sp (new ValueObjectConstResult(exe_scope, byte_order, addr_byte_size)),
m_flags (EVNone)
{
}