Clean up DIExpression::prependDIExpr a little. (NFC)
llvm-svn: 301662
This commit is contained in:
@@ -2723,7 +2723,7 @@ void FunctionStackPoisoner::processStaticAllocas() {
|
||||
Value *NewAllocaPtr = IRB.CreateIntToPtr(
|
||||
IRB.CreateAdd(LocalStackBase, ConstantInt::get(IntptrTy, Desc.Offset)),
|
||||
AI->getType());
|
||||
replaceDbgDeclareForAlloca(AI, NewAllocaPtr, DIB, /*Deref=*/false);
|
||||
replaceDbgDeclareForAlloca(AI, NewAllocaPtr, DIB, DIExpression::NoDeref);
|
||||
AI->replaceAllUsesWith(NewAllocaPtr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user