1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Fix compilation.

llvm-svn: 44864
This commit is contained in:
Duncan Sands 2007-12-11 12:20:47 +00:00
parent 9c572c5b50
commit 9251a8a97f

View File

@ -196,7 +196,7 @@ static void WriteTypeTable(const ValueEnumerator &VE, BitstreamWriter &Stream) {
Code = bitc::TYPE_CODE_INTEGER;
TypeVals.push_back(cast<IntegerType>(T)->getBitWidth());
break;
case Type::PointerTyID:
case Type::PointerTyID: {
const PointerType *PTy = cast<PointerType>(T);
// POINTER: [pointee type] or [pointee type, address space]
Code = bitc::TYPE_CODE_POINTER;
@ -206,6 +206,7 @@ static void WriteTypeTable(const ValueEnumerator &VE, BitstreamWriter &Stream) {
else
AbbrevToUse = PtrAbbrev;
break;
}
case Type::FunctionTyID: {
const FunctionType *FT = cast<FunctionType>(T);