summaryrefslogtreecommitdiffstats
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
commit399d6ae4f7f7940050067d11e945adcda142a07f (patch)
tree67cfefcbba80886ab24b3383abf79c241c19fb4c
parent311d06902a6337232a542b993c0f96b0d7d7ced1 (diff)
downloadbcm5719-llvm-399d6ae4f7f7940050067d11e945adcda142a07f.tar.gz
bcm5719-llvm-399d6ae4f7f7940050067d11e945adcda142a07f.zip
Minor logic simplification.
llvm-svn: 80453
-rw-r--r--llvm/lib/AsmParser/LLParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp
index 784672acef2..4f7a440c019 100644
--- a/llvm/lib/AsmParser/LLParser.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud