m_exprValue cannot be non-null here
...as, like the other private AstExpression::eval_* functions, eval_un_op is only called from AstExpression::evaluate if m_exprValue is null Change-Id: I812ea249d33a72f95b9692dc72ba6631ffbd4884
This commit is contained in:
parent
84001596c9
commit
1f8723bf91
@ -1002,9 +1002,6 @@ AstExprValue* AstExpression::eval_bit_op()
|
|||||||
|
|
||||||
AstExprValue* AstExpression::eval_un_op()
|
AstExprValue* AstExpression::eval_un_op()
|
||||||
{
|
{
|
||||||
if (m_exprValue != NULL)
|
|
||||||
return m_exprValue;
|
|
||||||
|
|
||||||
if (m_subExpr1 == NULL)
|
if (m_subExpr1 == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
m_subExpr1->evaluate();
|
m_subExpr1->evaluate();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user