don't let builtin-type handling code fall into pointer handling code

not all builtin types have size and alignment equal to pointers :)

llvm-svn: 39887
This commit is contained in:
Chris Lattner 2007-07-15 23:46:53 +00:00
parent 5c4664e355
commit 48f84b85b7
1 changed files with 1 additions and 0 deletions

View File

@ -180,6 +180,7 @@ ASTContext::getTypeInfo(QualType T, SourceLocation L) {
case BuiltinType::Double: Target.getDoubleInfo(Size, Align, L); break;
case BuiltinType::LongDouble: Target.getLongDoubleInfo(Size, Align,L);break;
}
break;
}
case Type::Pointer: Target.getPointerInfo(Size, Align, L); break;
case Type::Reference: