diff options
author | Chris Lattner <sabre@nondot.org> | 2009-10-18 05:09:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-10-18 05:09:15 +0000 |
commit | cf4d2f11a1acc12a0f6b50991907e4a998ee9cdd (patch) | |
tree | 3e9e86b344a2e1281f5a0fa029f6749063b81203 | |
parent | 14d8038518c535551b4f5eaf2d5caab038a0ed31 (diff) |
add some fixme's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84408 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/AsmParser/LLLexer.cpp | 3 | ||||
-rw-r--r-- | lib/AsmParser/LLParser.cpp | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/AsmParser/LLLexer.cpp b/lib/AsmParser/LLLexer.cpp index 6d660111ac..cb7660596a 100644 --- a/lib/AsmParser/LLLexer.cpp +++ b/lib/AsmParser/LLLexer.cpp @@ -603,7 +603,8 @@ lltok::Kind LLLexer::LexIdentifier() { if (JustWhitespaceNewLine(CurPtr)) return lltok::kw_zeroext; } else if (Len == 6 && !memcmp(StartChar, "malloc", 6)) { - // Autoupgrade malloc instruction + // FIXME: Remove in LLVM 3.0. + // Autoupgrade malloc instruction. return lltok::kw_malloc; } diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index 749ce9360f..da8f4eaac5 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -70,6 +70,7 @@ bool LLParser::Run() { /// module. bool LLParser::ValidateEndOfModule() { // Update auto-upgraded malloc calls from "autoupgrade_malloc" to "malloc". + // FIXME: Remove in LLVM 3.0. if (MallocF) { MallocF->setName("malloc"); // If setName() does not set the name to "malloc", then there is already a |