diff options
| author | Sean Callanan <scallanan@apple.com> | 2015-10-01 16:28:02 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2015-10-01 16:28:02 +0000 |
| commit | b92bd7538e167ae058eedaa948fcb3a7ceecd5af (patch) | |
| tree | d34c87c3f2524f4782343e60e1216239f1b51442 /lldb/source/Expression/UserExpression.cpp | |
| parent | c8b158155c9c829da0412252ef72e823311b82aa (diff) | |
| download | bcm5719-llvm-b92bd7538e167ae058eedaa948fcb3a7ceecd5af.tar.gz bcm5719-llvm-b92bd7538e167ae058eedaa948fcb3a7ceecd5af.zip | |
Made Target hold a map of languages to TypeSystems, and added some accessors.
Also added some target-level search functions so that persistent variables and
symbols can be searched for without hand-iterating across the map of
TypeSystems.
llvm-svn: 249027
Diffstat (limited to 'lldb/source/Expression/UserExpression.cpp')
| -rw-r--r-- | lldb/source/Expression/UserExpression.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/UserExpression.cpp b/lldb/source/Expression/UserExpression.cpp index a493cc80d88..7e0446f507c 100644 --- a/lldb/source/Expression/UserExpression.cpp +++ b/lldb/source/Expression/UserExpression.cpp @@ -587,7 +587,7 @@ UserExpression::Evaluate (ExecutionContext &exe_ctx, if (options.GetResultIsInternal() && expr_result && process) { - process->GetTarget().GetScratchTypeSystemForLanguage(lldb::eLanguageTypeC)->GetPersistentExpressionState()->RemovePersistentVariable (expr_result); + process->GetTarget().GetPersistentExpressionStateForLanguage(language)->RemovePersistentVariable (expr_result); } if (execution_results != lldb::eExpressionCompleted) |

