aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-18 05:09:15 +0000
committerChris Lattner <sabre@nondot.org>2009-10-18 05:09:15 +0000
commit708770bbcab0eeaad849b10542fcba56c72d23fc (patch)
tree3e9e86b344a2e1281f5a0fa029f6749063b81203
parent5451359c1e3d61ff28c2dab42cd6fc4b3f802344 (diff)
downloadexternal_llvm-708770bbcab0eeaad849b10542fcba56c72d23fc.zip
external_llvm-708770bbcab0eeaad849b10542fcba56c72d23fc.tar.gz
external_llvm-708770bbcab0eeaad849b10542fcba56c72d23fc.tar.bz2
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.cpp3
-rw-r--r--lib/AsmParser/LLParser.cpp1
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/AsmParser/LLLexer.cpp b/lib/AsmParser/LLLexer.cpp
index 6d66011..cb76605 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 749ce93..da8f4ea 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