forked from OSchip/llvm-project
Fixed a problem where m_register_info was not being
copied by the copy constructor for ClangExpressionVariable. This meant that a NULL m_register_info wouldn't be copied, and instead the field was uninitialized, potentially confusing the materializer. llvm-svn: 120472
This commit is contained in:
parent
6712251f41
commit
f5a998643c
|
@ -47,7 +47,8 @@ ClangExpressionVariable::DisableDataVars()
|
|||
ClangExpressionVariable::ClangExpressionVariable(const ClangExpressionVariable &rhs) :
|
||||
m_name(rhs.m_name),
|
||||
m_user_type(rhs.m_user_type),
|
||||
m_store(rhs.m_store),
|
||||
m_store(rhs.m_store),
|
||||
m_register_info(rhs.m_register_info),
|
||||
m_index(rhs.m_index)
|
||||
{
|
||||
if (rhs.m_parser_vars.get())
|
||||
|
|
Loading…
Reference in New Issue