mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-30 13:01:18 +00:00
Add a comment.
llvm-svn: 112080
This commit is contained in:
1 parent
37b384cd66
commit
4a68f9b606
1 file changed
+1
@@ -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))) {
|
||||
|
||||
Reference in new issue
Block a user