mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
remove another old and dead hunk of code.
llvm-svn: 133267
This commit is contained in:
parent
2e2fad280a
commit
989da517f1
@ -2792,10 +2792,6 @@ bool LLParser::ParseFunctionHeader(Function *&Fn, bool isDefine) {
|
||||
// Add all of the arguments we parsed to the function.
|
||||
Function::arg_iterator ArgIt = Fn->arg_begin();
|
||||
for (unsigned i = 0, e = ArgList.size(); i != e; ++i, ++ArgIt) {
|
||||
// If we run out of arguments in the Function prototype, exit early.
|
||||
// FIXME: REMOVE THIS IN LLVM 3.0, this is just for the mismatch case above.
|
||||
if (ArgIt == Fn->arg_end()) break;
|
||||
|
||||
// If the argument has a name, insert it into the argument symbol table.
|
||||
if (ArgList[i].Name.empty()) continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user