Added missing case in constant propagation logic for handling the Xor of

two concrete integer values.

llvm-svn: 47341
This commit is contained in:
Ted Kremenek 2008-02-19 20:53:37 +00:00
parent 9c08512656
commit 4ae9985285
1 changed files with 3 additions and 0 deletions

View File

@ -130,5 +130,8 @@ ValueManager::EvaluateAPSInt(BinaryOperator::Opcode Op,
case BinaryOperator::Or:
return getValue( V1 | V2 );
case BinaryOperator::Xor:
return getValue( V1 ^ V2 );
}
}