projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b83c26
)
Add a comment.
author
Dan Gohman
<gohman@apple.com>
Wed, 25 Aug 2010 20:17:19 +0000
(20:17 +0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 25 Aug 2010 20:17:19 +0000
(20:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112080
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bitcode/Reader/BitcodeReader.cpp
patch
|
blob
|
history
diff --git
a/lib/Bitcode/Reader/BitcodeReader.cpp
b/lib/Bitcode/Reader/BitcodeReader.cpp
index 2e86abfbc07539b83182758af51cd1b9c0c1b786..96b7f4d22dc536aec656cf724f036265464caa37 100644
(file)
--- a/
lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/
lib/Bitcode/Reader/BitcodeReader.cpp
@@
-1986,6
+1986,7
@@
bool BitcodeReader::ParseFunctionBody(Function *F) {
} while(OpNum != Record.size());
const Type *ReturnType = F->getReturnType();
+ // Handle multiple return values. FIXME: Remove in LLVM 3.0.
if (Vs.size() > 1 ||
(ReturnType->isStructTy() &&
(Vs.empty() || Vs[0]->getType() != ReturnType))) {