mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-31 07:43:37 +00:00
Fix compilation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44864 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
52cf47e331
commit
216b74c20c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user