git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82782 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mike Stump 2009-09-25 18:11:00 +00:00
Родитель b0802c9f50
Коммит bcdc0f0aff
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -159,7 +159,8 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy,
// later. Don't create this with the builder, because we don't want it
// folded.
llvm::Value *Undef = llvm::UndefValue::get(llvm::Type::getInt32Ty(VMContext));
AllocaInsertPt = new llvm::BitCastInst(Undef, llvm::Type::getInt32Ty(VMContext), "",
AllocaInsertPt = new llvm::BitCastInst(Undef,
llvm::Type::getInt32Ty(VMContext), "",
EntryBB);
if (Builder.isNamePreserving())
AllocaInsertPt->setName("allocapt");