diff options
Diffstat (limited to 'lib/Transforms/Scalar/Reg2Mem.cpp')
-rw-r--r-- | lib/Transforms/Scalar/Reg2Mem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/Reg2Mem.cpp b/lib/Transforms/Scalar/Reg2Mem.cpp index 6d408df546..ce38b08ef9 100644 --- a/lib/Transforms/Scalar/Reg2Mem.cpp +++ b/lib/Transforms/Scalar/Reg2Mem.cpp @@ -67,7 +67,7 @@ namespace { while (isa<AllocaInst>(I)) ++I; CastInst *AllocaInsertionPoint = - CastInst::create(Instruction::BitCast, + CastInst::Create(Instruction::BitCast, Constant::getNullValue(Type::Int32Ty), Type::Int32Ty, "reg2mem alloca point", I); |