Bitcode: Add missing "Remove in 4.0" comments

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224090 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan P. N. Exon Smith 2014-12-12 02:11:31 +00:00
parent e821037df7
commit b0d1b981e8

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