mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Add a comment.
llvm-svn: 112080
This commit is contained in:
parent
ebee78319c
commit
9bb1e88e8f
@ -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))) {
|
||||
|
Loading…
Reference in New Issue
Block a user