mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-23 05:29:23 +00:00
Remove unneeded curly braces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
53c4c062c1
commit
63e42c2782
@ -1121,11 +1121,9 @@ bool llvm::replaceDbgDeclareForAlloca(AllocaInst *AI, Value *NewAllocaAddress,
|
||||
// alloca itself.
|
||||
SmallVector<int64_t, 4> NewDIExpr;
|
||||
NewDIExpr.push_back(dwarf::DW_OP_deref);
|
||||
if (DIExpr) {
|
||||
for (unsigned i = 0, n = DIExpr.getNumElements(); i < n; ++i) {
|
||||
if (DIExpr)
|
||||
for (unsigned i = 0, n = DIExpr.getNumElements(); i < n; ++i)
|
||||
NewDIExpr.push_back(DIExpr.getElement(i));
|
||||
}
|
||||
}
|
||||
|
||||
// Insert llvm.dbg.declare in the same basic block as the original alloca,
|
||||
// and remove old llvm.dbg.declare.
|
||||
|
Loading…
x
Reference in New Issue
Block a user