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;
}
/// 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