mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-20 12:31:40 +00:00
Test commit; also removes some trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149887 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b595c48a8a
commit
fccf0623ee
@ -401,7 +401,7 @@ Type *BitcodeReader::getTypeByID(unsigned ID) {
|
|||||||
// The type table size is always specified correctly.
|
// The type table size is always specified correctly.
|
||||||
if (ID >= TypeList.size())
|
if (ID >= TypeList.size())
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (Type *Ty = TypeList[ID])
|
if (Type *Ty = TypeList[ID])
|
||||||
return Ty;
|
return Ty;
|
||||||
|
|
||||||
@ -522,7 +522,7 @@ bool BitcodeReader::ParseAttributeBlock() {
|
|||||||
bool BitcodeReader::ParseTypeTable() {
|
bool BitcodeReader::ParseTypeTable() {
|
||||||
if (Stream.EnterSubBlock(bitc::TYPE_BLOCK_ID_NEW))
|
if (Stream.EnterSubBlock(bitc::TYPE_BLOCK_ID_NEW))
|
||||||
return Error("Malformed block record");
|
return Error("Malformed block record");
|
||||||
|
|
||||||
return ParseTypeTableBody();
|
return ParseTypeTableBody();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -534,7 +534,7 @@ bool BitcodeReader::ParseTypeTableBody() {
|
|||||||
unsigned NumRecords = 0;
|
unsigned NumRecords = 0;
|
||||||
|
|
||||||
SmallString<64> TypeName;
|
SmallString<64> TypeName;
|
||||||
|
|
||||||
// Read all the records for this type table.
|
// Read all the records for this type table.
|
||||||
while (1) {
|
while (1) {
|
||||||
unsigned Code = Stream.ReadCode();
|
unsigned Code = Stream.ReadCode();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user