add some fixme's

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84408 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-10-18 05:09:15 +00:00
parent 14d8038518
commit cf4d2f11a1
2 changed files with 3 additions and 1 deletions

View File

@ -603,7 +603,8 @@ lltok::Kind LLLexer::LexIdentifier() {
if (JustWhitespaceNewLine(CurPtr)) if (JustWhitespaceNewLine(CurPtr))
return lltok::kw_zeroext; return lltok::kw_zeroext;
} else if (Len == 6 && !memcmp(StartChar, "malloc", 6)) { } else if (Len == 6 && !memcmp(StartChar, "malloc", 6)) {
// Autoupgrade malloc instruction // FIXME: Remove in LLVM 3.0.
// Autoupgrade malloc instruction.
return lltok::kw_malloc; return lltok::kw_malloc;
} }

View File

@ -70,6 +70,7 @@ bool LLParser::Run() {
/// module. /// module.
bool LLParser::ValidateEndOfModule() { bool LLParser::ValidateEndOfModule() {
// Update auto-upgraded malloc calls from "autoupgrade_malloc" to "malloc". // Update auto-upgraded malloc calls from "autoupgrade_malloc" to "malloc".
// FIXME: Remove in LLVM 3.0.
if (MallocF) { if (MallocF) {
MallocF->setName("malloc"); MallocF->setName("malloc");
// If setName() does not set the name to "malloc", then there is already a // If setName() does not set the name to "malloc", then there is already a