regenerate

llvm-svn: 58697
This commit is contained in:
Nuno Lopes 2008-11-04 14:43:20 +00:00
parent 0e92081b04
commit c6a5b0979f
3 changed files with 347 additions and 339 deletions

File diff suppressed because it is too large Load Diff

View File

@ -360,7 +360,7 @@
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
#line 982 "/cvs/llvm/lib/AsmParser/llvmAsmParser.y"
#line 986 "/cvs/llvm/lib/AsmParser/llvmAsmParser.y"
{
llvm::Module *ModuleVal;
llvm::Function *FunctionVal;

View File

@ -437,7 +437,11 @@ static Value *getExistingVal(const Type *Ty, const ValID &D) {
D.ConstPoolFP->convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven,
&ignored);
}
return ConstantFP::get(*D.ConstPoolFP);
{
ConstantFP *tmp = ConstantFP::get(*D.ConstPoolFP);
D.destroy();
return tmp;
}
case ValID::ConstNullVal: // Is it a null value?
if (!isa<PointerType>(Ty)) {