summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBValue.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-10-16 22:58:25 +0000
committerGreg Clayton <gclayton@apple.com>2012-10-16 22:58:25 +0000
commitcced1566e228674f03d9e93e076439d4f82b9f91 (patch)
treeb5716a088c03e82de97d30458c5a12738e0d4905 /lldb/source/API/SBValue.cpp
parenteb7d598cec1564d33e47e3950d736d766eb918cf (diff)
downloadbcm5719-llvm-cced1566e228674f03d9e93e076439d4f82b9f91.tar.gz
bcm5719-llvm-cced1566e228674f03d9e93e076439d4f82b9f91.zip
API cleanup.
llvm-svn: 166070
Diffstat (limited to 'lldb/source/API/SBValue.cpp')
-rw-r--r--lldb/source/API/SBValue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/API/SBValue.cpp b/lldb/source/API/SBValue.cpp
index 0aa01a6c9cc..5b38bc5e14a 100644
--- a/lldb/source/API/SBValue.cpp
+++ b/lldb/source/API/SBValue.cpp
@@ -720,7 +720,7 @@ lldb::SBValue
SBValue::CreateValueFromExpression (const char *name, const char* expression)
{
SBExpressionOptions options;
- options.SetKeepInMemory(true);
+ options.ref().SetKeepInMemory(true);
return CreateValueFromExpression (name, expression, options);
}
@@ -746,7 +746,7 @@ SBValue::CreateValueFromExpression (const char *name, const char *expression, SB
Target* target = exe_ctx.GetTargetPtr();
if (target)
{
- options.SetKeepInMemory(true);
+ options.ref().SetKeepInMemory(true);
target->EvaluateExpression (expression,
exe_ctx.GetFramePtr(),
new_value_sp,
OpenPOWER on IntegriCloud