Removed a needless cast to ClangExpressionVariable.

llvm-svn: 247910
This commit is contained in:
Sean Callanan 2015-09-17 18:19:12 +00:00
parent 476d252846
commit c608d206c7
1 changed files with 1 additions and 1 deletions

View File

@ -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,