forked from OSchip/llvm-project
parent
724e67ec75
commit
e4f5c9495f
File diff suppressed because it is too large
Load Diff
|
@ -360,7 +360,7 @@
|
||||||
|
|
||||||
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||||||
typedef union YYSTYPE
|
typedef union YYSTYPE
|
||||||
#line 981 "/cvs/llvm/lib/AsmParser/llvmAsmParser.y"
|
#line 982 "/cvs/llvm/lib/AsmParser/llvmAsmParser.y"
|
||||||
{
|
{
|
||||||
llvm::Module *ModuleVal;
|
llvm::Module *ModuleVal;
|
||||||
llvm::Function *FunctionVal;
|
llvm::Function *FunctionVal;
|
||||||
|
|
|
@ -418,6 +418,7 @@ static Value *getExistingVal(const Type *Ty, const ValID &D) {
|
||||||
|
|
||||||
{
|
{
|
||||||
APSInt Tmp = *D.ConstPoolInt;
|
APSInt Tmp = *D.ConstPoolInt;
|
||||||
|
D.destroy();
|
||||||
Tmp.extOrTrunc(Ty->getPrimitiveSizeInBits());
|
Tmp.extOrTrunc(Ty->getPrimitiveSizeInBits());
|
||||||
return ConstantInt::get(Tmp);
|
return ConstantInt::get(Tmp);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue