Fixing a precedence issue with my previous commit.

llvm-svn: 169041
This commit is contained in:
Aaron Ballman 2012-11-30 21:44:01 +00:00
parent 2776b4c624
commit f505d55472
1 changed files with 1 additions and 1 deletions

View File

@ -1950,7 +1950,7 @@ llvm::Constant *CodeGenFunction::EmitCheckTypeDescriptor(QualType T) {
if (T->isIntegerType()) {
TypeKind = 0;
TypeInfo = (llvm::Log2_32(getContext().getTypeSize(T)) << 1) |
T->isSignedIntegerType() ? 1 : 0;
(T->isSignedIntegerType() ? 1 : 0);
} else if (T->isFloatingType()) {
TypeKind = 1;
TypeInfo = getContext().getTypeSize(T);