summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2015-09-17 18:19:12 +0000
committerSean Callanan <scallanan@apple.com>2015-09-17 18:19:12 +0000
commitc608d206c7668b0292ae82d5fa379d0b9d9c8539 (patch)
tree0a00465b2ddc98d1bf5a774241b0f96d0e737585
parent476d252846446d3983f4e74e06b8a099a553932b (diff)
downloadbcm5719-llvm-c608d206c7668b0292ae82d5fa379d0b9d9c8539.tar.gz
bcm5719-llvm-c608d206c7668b0292ae82d5fa379d0b9d9c8539.zip
Removed a needless cast to ClangExpressionVariable.
llvm-svn: 247910
-rw-r--r--lldb/source/Expression/Materializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/Materializer.cpp b/lldb/source/Expression/Materializer.cpp
index afc39bcf408..450d1adc939 100644
--- a/lldb/source/Expression/Materializer.cpp
+++ b/lldb/source/Expression/Materializer.cpp
@@ -101,7 +101,7 @@ public:
// Put the location of the spare memory into the live data of the ValueObject.
m_persistent_variable_sp->m_live_sp = ValueObjectConstResult::Create (map.GetBestExecutionContextScope(),
- llvm::cast<ClangExpressionVariable>(m_persistent_variable_sp.get())->GetTypeFromUser(),
+ m_persistent_variable_sp->GetCompilerType(),
m_persistent_variable_sp->GetName(),
mem,
eAddressTypeLoad,
OpenPOWER on IntegriCloud