Fixing a precedence issue with my previous commit.
llvm-svn: 169041
This commit is contained in:
parent
2776b4c624
commit
f505d55472
|
@ -1950,7 +1950,7 @@ llvm::Constant *CodeGenFunction::EmitCheckTypeDescriptor(QualType T) {
|
||||||
if (T->isIntegerType()) {
|
if (T->isIntegerType()) {
|
||||||
TypeKind = 0;
|
TypeKind = 0;
|
||||||
TypeInfo = (llvm::Log2_32(getContext().getTypeSize(T)) << 1) |
|
TypeInfo = (llvm::Log2_32(getContext().getTypeSize(T)) << 1) |
|
||||||
T->isSignedIntegerType() ? 1 : 0;
|
(T->isSignedIntegerType() ? 1 : 0);
|
||||||
} else if (T->isFloatingType()) {
|
} else if (T->isFloatingType()) {
|
||||||
TypeKind = 1;
|
TypeKind = 1;
|
||||||
TypeInfo = getContext().getTypeSize(T);
|
TypeInfo = getContext().getTypeSize(T);
|
||||||
|
|
Loading…
Reference in New Issue