mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 13:08:00 +00:00
Allow this to compile with gcc 4.0.X
llvm-svn: 36723
This commit is contained in:
parent
7cef11b66d
commit
8148449b40
@ -400,7 +400,7 @@ bool BitcodeReader::ParseValueSymbolTable() {
|
||||
switch (Stream.ReadRecord(Code, Record)) {
|
||||
default: // Default behavior: unknown type.
|
||||
break;
|
||||
case bitc::VST_CODE_ENTRY: // VST_ENTRY: [valueid, namelen, namechar x N]
|
||||
case bitc::VST_CODE_ENTRY: { // VST_ENTRY: [valueid, namelen, namechar x N]
|
||||
if (ConvertToString(Record, 1, ValueName))
|
||||
return Error("Invalid TST_ENTRY record");
|
||||
unsigned ValueID = Record[0];
|
||||
@ -411,7 +411,8 @@ bool BitcodeReader::ParseValueSymbolTable() {
|
||||
V->setName(&ValueName[0], ValueName.size());
|
||||
ValueName.clear();
|
||||
break;
|
||||
case bitc::VST_CODE_BBENTRY:
|
||||
}
|
||||
case bitc::VST_CODE_BBENTRY: {
|
||||
if (ConvertToString(Record, 1, ValueName))
|
||||
return Error("Invalid VST_BBENTRY record");
|
||||
BasicBlock *BB = getBasicBlock(Record[0]);
|
||||
@ -424,6 +425,7 @@ bool BitcodeReader::ParseValueSymbolTable() {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// DecodeSignRotatedValue - Decode a signed value stored with the sign bit in
|
||||
/// the LSB for dense VBR encoding.
|
||||
|
Loading…
Reference in New Issue
Block a user