Bitcode: Add missing "Remove in 4.0" comments

llvm-svn: 224090
This commit is contained in:
Duncan P. N. Exon Smith 2014-12-12 02:11:31 +00:00
parent 0880c6098f
commit 5bd34e56ce
1 changed files with 2 additions and 0 deletions

View File

@ -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);