regenerate

llvm-svn: 47634
This commit is contained in:
Devang Patel 2008-02-26 22:17:48 +00:00
parent 5c00c6bafa
commit 6229b52816
3 changed files with 281 additions and 277 deletions

File diff suppressed because it is too large Load Diff

View File

@ -344,7 +344,7 @@
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
#line 953 "/Volumes/Nanpura/mrv/llvm/lib/AsmParser/llvmAsmParser.y"
#line 953 "/Volumes/Nanpura/w/llvm/lib/AsmParser/llvmAsmParser.y"
{
llvm::Module *ModuleVal;
llvm::Function *FunctionVal;

View File

@ -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
}