mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-31 09:25:42 +00:00
regenerate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47634 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2580,7 +2580,9 @@ InstructionList : InstructionList Inst {
|
||||
|
||||
BBTerminatorInst :
|
||||
RET ReturnedVal { // Return with a result...
|
||||
$$ = new ReturnInst(*$2);
|
||||
ValueList &VL = *$2;
|
||||
if (!VL.empty())
|
||||
$$ = new ReturnInst(&VL[0], VL.size());
|
||||
delete $2;
|
||||
CHECK_FOR_ERROR
|
||||
}
|
||||
|
Reference in New Issue
Block a user