Skip to content

Commit fa78acf

Browse files
jmorseJaddyen
authored andcommitted
Follow up to 9eb0020, squelch unused variable warning
It turns out that this now-deleted debug-intrinsic code was the only use of CI.
1 parent fba423b commit fa78acf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/lib/Transforms/IPO/IROutliner.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -744,9 +744,6 @@ static void moveFunctionData(Function &Old, Function &New,
744744
continue;
745745
}
746746

747-
// From this point we are only handling call instructions.
748-
CallInst *CI = cast<CallInst>(&Val);
749-
750747
// Edit the scope of called functions inside of outlined functions.
751748
if (DISubprogram *SP = New.getSubprogram()) {
752749
DILocation *DI = DILocation::get(New.getContext(), 0, 0, SP);

0 commit comments

Comments
 (0)