regenerate

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58697 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nuno Lopes 2008-11-04 14:43:20 +00:00
parent b0c53da1e1
commit aa386d0881
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)) {