mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-11 21:56:15 +00:00
add some fixme's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84408 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
14d8038518
commit
cf4d2f11a1
@ -603,7 +603,8 @@ lltok::Kind LLLexer::LexIdentifier() {
|
|||||||
if (JustWhitespaceNewLine(CurPtr))
|
if (JustWhitespaceNewLine(CurPtr))
|
||||||
return lltok::kw_zeroext;
|
return lltok::kw_zeroext;
|
||||||
} else if (Len == 6 && !memcmp(StartChar, "malloc", 6)) {
|
} else if (Len == 6 && !memcmp(StartChar, "malloc", 6)) {
|
||||||
// Autoupgrade malloc instruction
|
// FIXME: Remove in LLVM 3.0.
|
||||||
|
// Autoupgrade malloc instruction.
|
||||||
return lltok::kw_malloc;
|
return lltok::kw_malloc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,6 +70,7 @@ bool LLParser::Run() {
|
|||||||
/// module.
|
/// module.
|
||||||
bool LLParser::ValidateEndOfModule() {
|
bool LLParser::ValidateEndOfModule() {
|
||||||
// Update auto-upgraded malloc calls from "autoupgrade_malloc" to "malloc".
|
// Update auto-upgraded malloc calls from "autoupgrade_malloc" to "malloc".
|
||||||
|
// FIXME: Remove in LLVM 3.0.
|
||||||
if (MallocF) {
|
if (MallocF) {
|
||||||
MallocF->setName("malloc");
|
MallocF->setName("malloc");
|
||||||
// If setName() does not set the name to "malloc", then there is already a
|
// If setName() does not set the name to "malloc", then there is already a
|
||||||
|
Loading…
Reference in New Issue
Block a user