summaryrefslogtreecommitdiff
path: root/lib/AsmParser
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-29 23:37:49 +0000
committerDan Gohman <gohman@apple.com>2009-08-29 23:37:49 +0000
commit419055453cdc4f9be4a3ad80f9b49e881d528fe9 (patch)
tree81416507bf0cfe173663997b755c18c1e2f69618 /lib/AsmParser
parented77e52dd972ada58608f5540d3d0d434899114e (diff)
downloadllvm-419055453cdc4f9be4a3ad80f9b49e881d528fe9.tar.gz
llvm-419055453cdc4f9be4a3ad80f9b49e881d528fe9.tar.bz2
llvm-419055453cdc4f9be4a3ad80f9b49e881d528fe9.tar.xz
Minor logic simplification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80453 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser')
-rw-r--r--lib/AsmParser/LLParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp
index 784672acef..4f7a440c01 100644
--- a/lib/AsmParser/LLParser.cpp
+++ b/lib/AsmParser/LLParser.cpp
@@ -2501,7 +2501,7 @@ bool LLParser::ParseFunctionHeader(Function *&Fn, bool isDefine) {
}
}
- } else if (FunctionName.empty()) {
+ } else {
// If this is a definition of a forward referenced function, make sure the
// types agree.
std::map<unsigned, std::pair<GlobalValue*, LocTy> >::iterator I