Skip to content

Commit 1a28e55

Browse files
abidhtgymnich
andcommitted
Update llvm/lib/Transforms/Utils/CodeExtractor.cpp
Co-authored-by: Tim Gymnich <[email protected]>
1 parent f08fe28 commit 1a28e55

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Transforms/Utils/CodeExtractor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,10 +1300,9 @@ static void fixupDebugInfoPostExtraction(
13001300
// Iterate the debud users of the Input values. If they are in the extracted
13011301
// function then update their location with the new value. If they are in
13021302
// the parent function then create a similar debug record.
1303-
for (auto *DVI : DbgUsers) {
1303+
for (auto *DVI : DbgUsers)
13041304
UpdateOrInsertDebugRecord(DVI, Input, NewVal, Expr,
13051305
isa<DbgDeclareInst>(DVI));
1306-
}
13071306
for (auto *DVR : DPUsers)
13081307
UpdateOrInsertDebugRecord(DVR, Input, NewVal, Expr, DVR->isDbgDeclare());
13091308
}

0 commit comments

Comments
 (0)