summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@google.com>2012-02-06 19:03:04 +0000
committerDerek Schuff <dschuff@google.com>2012-02-06 19:03:04 +0000
commit206dddda15c32885f0be93a76d23ea5b4d7a654d (patch)
treec0861495eba0bff13473cb2444420c542bb0ff72 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent60fc2425457f43f38edf5b310551f996f4f42df8 (diff)
downloadbcm5719-llvm-206dddda15c32885f0be93a76d23ea5b4d7a654d.tar.gz
bcm5719-llvm-206dddda15c32885f0be93a76d23ea5b4d7a654d.zip
Test commit; also removes some trailing whitespace
llvm-svn: 149887
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index 6f887f6ecaf..33a9d14d1ad 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -401,7 +401,7 @@ Type *BitcodeReader::getTypeByID(unsigned ID) {
// The type table size is always specified correctly.
if (ID >= TypeList.size())
return 0;
-
+
if (Type *Ty = TypeList[ID])
return Ty;
@@ -522,7 +522,7 @@ bool BitcodeReader::ParseAttributeBlock() {
bool BitcodeReader::ParseTypeTable() {
if (Stream.EnterSubBlock(bitc::TYPE_BLOCK_ID_NEW))
return Error("Malformed block record");
-
+
return ParseTypeTableBody();
}
@@ -534,7 +534,7 @@ bool BitcodeReader::ParseTypeTableBody() {
unsigned NumRecords = 0;
SmallString<64> TypeName;
-
+
// Read all the records for this type table.
while (1) {
unsigned Code = Stream.ReadCode();
OpenPOWER on IntegriCloud