mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Bitcode: Add missing "Remove in 4.0" comments
llvm-svn: 224090
This commit is contained in:
parent
8b4b1ae185
commit
2c88fce7b0
@ -1116,6 +1116,7 @@ std::error_code BitcodeReader::ParseMetadata() {
|
||||
break;
|
||||
}
|
||||
case bitc::METADATA_OLD_FN_NODE: {
|
||||
// FIXME: Remove in 4.0.
|
||||
// This is a LocalAsMetadata record, the only type of function-local
|
||||
// metadata.
|
||||
if (Record.size() % 2 == 1)
|
||||
@ -1143,6 +1144,7 @@ std::error_code BitcodeReader::ParseMetadata() {
|
||||
break;
|
||||
}
|
||||
case bitc::METADATA_OLD_NODE: {
|
||||
// FIXME: Remove in 4.0.
|
||||
if (Record.size() % 2 == 1)
|
||||
return Error(BitcodeError::InvalidRecord);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user