diff options
author | Chris Lattner <sabre@nondot.org> | 2011-06-17 17:40:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-06-17 17:40:18 +0000 |
commit | b0884ddf70fcb6b07113c4082c43c004f5bf8073 (patch) | |
tree | 59e46383de2d7606efe75e5d3364509317ea919c /lib/AsmParser/LLParser.cpp | |
parent | a16546a70bc8cdf609e9e10beb20925e54a88d77 (diff) |
remove another old and dead hunk of code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133267 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.cpp')
-rw-r--r-- | lib/AsmParser/LLParser.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index a9d3c94391..9096120c2d 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -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; |