mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112080 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7b83c26051
commit
6b9cb84f8c
@ -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