[llvm-commits] [llvm] r84408 - in /llvm/trunk/lib/AsmParser: LLLexer.cpp LLParser.cpp

Chris Lattner sabre at nondot.org
Sat Oct 17 22:09:15 PDT 2009


Author: lattner
Date: Sun Oct 18 00:09:15 2009
New Revision: 84408

URL: http://llvm.org/viewvc/llvm-project?rev=84408&view=rev
Log:
add some fixme's

Modified:
    llvm/trunk/lib/AsmParser/LLLexer.cpp
    llvm/trunk/lib/AsmParser/LLParser.cpp

Modified: llvm/trunk/lib/AsmParser/LLLexer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLLexer.cpp?rev=84408&r1=84407&r2=84408&view=diff

==============================================================================
--- llvm/trunk/lib/AsmParser/LLLexer.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLLexer.cpp Sun Oct 18 00:09:15 2009
@@ -603,7 +603,8 @@
     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;
   }
 

Modified: llvm/trunk/lib/AsmParser/LLParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLParser.cpp?rev=84408&r1=84407&r2=84408&view=diff

==============================================================================
--- llvm/trunk/lib/AsmParser/LLParser.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLParser.cpp Sun Oct 18 00:09:15 2009
@@ -70,6 +70,7 @@
 /// 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 





More information about the llvm-commits mailing list