add some fixme's
authorChris Lattner <sabre@nondot.org>
Sun, 18 Oct 2009 05:09:15 +0000 (05:09 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 18 Oct 2009 05:09:15 +0000 (05:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84408 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/LLLexer.cpp
lib/AsmParser/LLParser.cpp

index 6d660111ac3181a13b9971597837eb9a1b88cbad..cb7660596a1d7c2010af728722cb3e95a2ae79ab 100644 (file)
@@ -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;
   }
 
index 749ce9360f2a0438f657e1befc8a1707e34ef435..da8f4eaac5d49135fbe1821021d9f930ae346ba5 100644 (file)
@@ -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